re PR tree-optimization/36978 (ICE in gimple_cond_set_lhs for -O2 -funswitch-loops...
authorRichard Guenther <rguenther@suse.de>
Thu, 31 Jul 2008 14:12:24 +0000 (14:12 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 31 Jul 2008 14:12:24 +0000 (14:12 +0000)
commit12aea97a8d4abf8c33654cc5de3c71debf3ce764
treea58d95bb1902ad56655ad2f26bc42a410dd06917
parent1e0f7ffb4383cbbba0f81ca01a8ddd03a3f84620
re PR tree-optimization/36978 (ICE in gimple_cond_set_lhs for -O2 -funswitch-loops after tuples merge)

2008-07-31  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/36978
* tree-ssa-loop-unswitch.c (tree_may_unswitch_on): Do not fold
the generated condition.

* gcc.dg/torture/pr36978.c: New testcase.

From-SVN: r138415
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr36978.c [new file with mode: 0644]
gcc/tree-ssa-loop-unswitch.c