2008-07-31 Richard Guenther <rguenther@suse.de>
commita92910ae13f63d21d194bada3ae904a305d87bd8
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 31 Jul 2008 14:12:24 +0000 (31 14:12 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 31 Jul 2008 14:12:24 +0000 (31 14:12 +0000)
treea58d95bb1902ad56655ad2f26bc42a410dd06917
parent3830fb74edab75fe9dd5bc384fcaacdde9b69afb
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@138415 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr36978.c [new file with mode: 0644]
gcc/tree-ssa-loop-unswitch.c