re PR tree-optimization/23049 (ICE with -O3 -ftree-vectorize on 4.1.x)
authorSteven Bosscher <stevenb@suse.de>
Tue, 4 Oct 2005 05:57:38 +0000 (05:57 +0000)
committerSteven Bosscher <steven@gcc.gnu.org>
Tue, 4 Oct 2005 05:57:38 +0000 (05:57 +0000)
commit46fbb29c2ee1a905f9cad8b5004ff79fcf82bfeb
tree7151af0afa8919a5d3d55f199b5534c2e0dbb2eb
parent36dd6d31e4cfb026258d1885e788d7934521f694
re PR tree-optimization/23049 (ICE with -O3 -ftree-vectorize on 4.1.x)

2005-10-05  Steven Bosscher  <stevenb@suse.de>
gcc/
PR tree-optimization/23049
* tree-ssa-dom.c (thread_across_edge): Make sure that the condition
of a COND_EXPR is folded before calling fold on the whole rhs of a
conditional assignment.
* doc/tree-ssa.texi: Update the GIMPLE grammar for a valid rhs to
document that a COND_EXPR may appear there.

testsuite/
* gcc.dg/pr23049.c: New test.

* gcc.dg/ucnid-4.c: Fix test.

From-SVN: r104938
gcc/ChangeLog
gcc/doc/tree-ssa.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr23049.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/ucnid-4.c
gcc/tree-ssa-dom.c