[PR67828] don't unswitch on default defs of non-parms
authorAlexandre Oliva <aoliva@redhat.com>
Fri, 9 Oct 2015 12:18:24 +0000 (12:18 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Fri, 9 Oct 2015 12:18:24 +0000 (12:18 +0000)
commitf813d16ec532adc9760b0d6d4574b2028034b73a
tree204e33aa8889c3902a864e581b9a62cda9529d94
parent6be1d686e1e87fad27be534862c68279448fb87a
[PR67828] don't unswitch on default defs of non-parms

for  gcc/ChangeLog

PR rtl-optimizatoin/67828
* tree-ssa-loop-unswitch.c: Include tree-ssa.h.
(tree_may_unswitch_on): Don't unswitch on expressions
involving undefined values.

for  gcc/testsuite/ChangeLog

PR rtl-optimization/67828
* gcc.dg/torture/pr67828.c: New.

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