https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71261
--- Comment #12 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Wed May 25 11:49:03 2016 New Revision: 236701 URL: https://gcc.gnu.org/viewcvs?rev=236701&root=gcc&view=rev Log: 2016-05-25 Richard Biener <rguent...@suse.de> PR tree-optimization/71261 * tree-if-conv.c (ifcvt_split_def_stmt): Walk uses on the interesting stmt instead of immediate uses when looking for the use operand to replace. * c-c++-common/torture/pr71261.c: New testcase. Added: trunk/gcc/testsuite/c-c++-common/torture/pr71261.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-if-conv.c