https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83128
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Fri Nov 24 09:40:40 2017 New Revision: 255136 URL: https://gcc.gnu.org/viewcvs?rev=255136&root=gcc&view=rev Log: 2017-11-24 Richard Biener <rguent...@suse.de> PR tree-optimization/83128 * tree-ssa-sccvn.c (fully_constant_vn_reference_p): Handle STRING_CSTs. (vn_reference_lookup_3): Likewise. * gcc.dg/tree-ssa/ssa-fre-62.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-62.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-ssa-sccvn.c