[Bug tree-optimization/52969] [4.7/4.8 Regression] ICE in in get_expr_operands, at tree-ssa-operands.c:1035 with -ftree-loop-if-convert-stores
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Apr 13 12:22:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52969
--- Comment #8 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-04-13 12:22:25 UTC ---
Author: rguenth
Date: Fri Apr 13 12:22:16 2012
New Revision: 186416
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186416
Log:
2012-04-13 Richard Guenther <rguenther@suse.de>
PR tree-optimization/52969
* tree-if-conv.c (predicate_mem_writes): Properly gimplify
the condition for the COND_EXPR and handle predicate negation
by swapping the COND_EXPR arms.
* gcc.dg/torture/pr52969.c: New testcase.
Added:
trunk/gcc/testsuite/gcc.dg/torture/pr52969.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-if-conv.c
More information about the Gcc-bugs
mailing list