[PR67828] don't unswitch on default defs of non-parms
commita2bc380708860a5f5b804400b2c8c3b62bace09d
authoraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 9 Oct 2015 12:18:24 +0000 (9 12:18 +0000)
committeraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 9 Oct 2015 12:18:24 +0000 (9 12:18 +0000)
tree204e33aa8889c3902a864e581b9a62cda9529d94
parent57d92e8a0d291d9de85e06821912f84326c4346e
[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.

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