https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67828
--- Comment #7 from Alexandre Oliva <aoliva at gcc dot gnu.org> --- Author: aoliva Date: Fri Oct 9 12:18:24 2015 New Revision: 228650 URL: https://gcc.gnu.org/viewcvs?rev=228650&root=gcc&view=rev Log: [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. Added: trunk/gcc/testsuite/gcc.dg/torture/pr67828.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-ssa-loop-unswitch.c