OSDN Git Service

2005-10-05 Steven Bosscher <stevenb@suse.de>
authorsteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 4 Oct 2005 05:57:38 +0000 (05:57 +0000)
committersteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 4 Oct 2005 05:57:38 +0000 (05:57 +0000)
commit63315c52134b81242ec74c4e60ddc158cff37b5c
tree7151af0afa8919a5d3d55f199b5534c2e0dbb2eb
parent43a42807564cfdaf0ee6789e22aa7af780a02375
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
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