re PR tree-optimization/23476 (ICE in VRP, remove_range_assertions)
authorDiego Novillo <dnovillo@redhat.com>
Fri, 19 Aug 2005 18:08:55 +0000 (18:08 +0000)
committerDiego Novillo <dnovillo@gcc.gnu.org>
Fri, 19 Aug 2005 18:08:55 +0000 (14:08 -0400)
commit52270a3cb5384afea9773dfc122412a0fcf5957e
treee021dbfc4fa5df69c8229745ea8e626e837dee2f
parent5c1c631ecfcaa838d1c0d38680b4070ab0372122
re PR tree-optimization/23476 (ICE in VRP, remove_range_assertions)

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.

From-SVN: r103290
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr23476.c [new file with mode: 0644]
gcc/tree-cfgcleanup.c