https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67915
--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Wed Oct 14 12:59:15 2015 New Revision: 228810 URL: https://gcc.gnu.org/viewcvs?rev=228810&root=gcc&view=rev Log: 2015-10-14 Richard Biener <rguent...@suse.de> PR tree-optimization/67915 * match.pd: Handle comparisons of addresses of STRING_CSTs. * gimplify.c (gimplify_cond_expr): Fold the GIMPLE conds we build. * tree-cfgcleanup.c (cleanup_control_expr_graph): Remove GENERIC stmt folding in favor of GIMPLE one. * gcc.dg/torture/pr67915.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/torture/pr67915.c Modified: trunk/gcc/ChangeLog trunk/gcc/gimplify.c trunk/gcc/match.pd trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-cfgcleanup.c