re PR tree-optimization/67915 (ICE on valid code at -O2 and -O3 on x86_64-linux-gnu)
authorRichard Biener <rguenther@suse.de>
Wed, 14 Oct 2015 12:59:15 +0000 (12:59 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 14 Oct 2015 12:59:15 +0000 (12:59 +0000)
commitc3bea07622b9a0ffc7a6724c06a04c9801642dfd
tree1c951111002e36e36791d6b8c618654105a3bdc9
parent0155ad4011c58e3608d88e76d1fa0f628ccedcdb
re PR tree-optimization/67915 (ICE on valid code at -O2 and -O3 on x86_64-linux-gnu)

2015-10-14  Richard Biener  <rguenther@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.

From-SVN: r228810
gcc/ChangeLog
gcc/gimplify.c
gcc/match.pd
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr67915.c [new file with mode: 0644]
gcc/tree-cfgcleanup.c