https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84178
--- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Thu Mar 8 12:56:40 2018 New Revision: 258364 URL: https://gcc.gnu.org/viewcvs?rev=258364&root=gcc&view=rev Log: 2018-03-08 Richard Biener <rguent...@suse.de> PR tree-optimization/84178 * tree-if-conv.c (combine_blocks): Move insert_gimplified_predicates to caller. (version_loop_for_if_conversion): Delay update_ssa call. (tree_if_conversion): Delay update_ssa until after predicate insertion. * gcc.dg/torture/pr84178-2.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/torture/pr84178-2.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-if-conv.c