From 46fbb29c2ee1a905f9cad8b5004ff79fcf82bfeb Mon Sep 17 00:00:00 2001 From: Steven Bosscher Date: Tue, 4 Oct 2005 05:57:38 +0000 Subject: re PR tree-optimization/23049 (ICE with -O3 -ftree-vectorize on 4.1.x) 2005-10-05 Steven Bosscher 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/doc/tree-ssa.texi | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gcc/doc') diff --git a/gcc/doc/tree-ssa.texi b/gcc/doc/tree-ssa.texi index cbc08a1..77a2f0a 100644 --- a/gcc/doc/tree-ssa.texi +++ b/gcc/doc/tree-ssa.texi @@ -728,6 +728,10 @@ void f() | RELOP op0 -> val op1 -> val + | COND_EXPR + op0 -> condition + op1 -> val + op2 -> val @end smallexample @node Annotations -- cgit v1.1