https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65356
vries at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #3 from vries at gcc dot gnu.org --- https://gcc.gnu.org/ml/gcc-cvs/2016-01/msg00780.html : Author: vries Date: Mon Jan 25 14:21:03 2016 New Revision: 232794 URL: https://gcc.gnu.org/viewcvs?rev=232794&root=gcc&view=rev Log: Backport "Fix PR64091" 2016-01-25 Tom de Vries <t...@codesourcery.com> backport from trunk: 2014-11-27 Richard Biener <rguent...@suse.de> PR tree-optimization/PR64091 * tree-ssa-tail-merge.c (update_debug_stmt): After resetting the stmt break from the loop over use operands. * gcc.dg/torture/pr64091.c: New testcase. Added: branches/gcc-4_9-branch/gcc/testsuite/gcc.dg/torture/pr64091.c Modified: branches/gcc-4_9-branch/gcc/ChangeLog branches/gcc-4_9-branch/gcc/testsuite/ChangeLog branches/gcc-4_9-branch/gcc/tree-ssa-tail-merge.c