OSDN Git Service

PR 23476
authordnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 Aug 2005 18:08:55 +0000 (18:08 +0000)
committerdnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 Aug 2005 18:08:55 +0000 (18:08 +0000)
commit8df8d61f081139c519c2250e16f1880a5c0eb4a2
treee021dbfc4fa5df69c8229745ea8e626e837dee2f
parent449ec7dc7c89a5733d3a69a9b2180f5e8dfe02ee
PR 23476
* tree-cfgcleanup.c (cleanup_control_expr_graph): Fold the
conditional expression before testing its value.

PR 23476
* gcc.c-torture/compile/pr23476.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@103290 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr23476.c [new file with mode: 0644]
gcc/tree-cfgcleanup.c