From 63315c52134b81242ec74c4e60ddc158cff37b5c Mon Sep 17 00:00:00 2001 From: steven Date: Tue, 4 Oct 2005 05:57:38 +0000 Subject: 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104938 138bc75d-0d04-0410-961f-82ee72b054a4 --- 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 cbc08a1cf4d..77a2f0a01ab 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.2.1