https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67470
--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Tue Sep 15 14:10:10 2015 New Revision: 227797 URL: https://gcc.gnu.org/viewcvs?rev=227797&root=gcc&view=rev Log: 2015-09-15 Richard Biener <rguent...@suse.de> PR tree-optimization/67470 * tree-ssa-loop-im.c (execute_sm_if_changed): Preserve PHI structure for PHI hoisting by inserting a forwarder block if appropriate. * gcc.dg/torture/pr67470.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/torture/pr67470.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-ssa-loop-im.c