diff options
author | steven <steven@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-10-04 05:57:38 +0000 |
---|---|---|
committer | steven <steven@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-10-04 05:57:38 +0000 |
commit | 63315c52134b81242ec74c4e60ddc158cff37b5c (patch) | |
tree | 7151af0afa8919a5d3d55f199b5534c2e0dbb2eb /gcc/doc/tree-ssa.texi | |
parent | 43a42807564cfdaf0ee6789e22aa7af780a02375 (diff) | |
download | gcc-63315c52134b81242ec74c4e60ddc158cff37b5c.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104938 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/doc/tree-ssa.texi')
-rw-r--r-- | gcc/doc/tree-ssa.texi | 4 |
1 files changed, 4 insertions, 0 deletions
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 |