From: Alexandre Oliva Date: Mon, 29 Oct 2012 19:27:09 +0000 (+0000) Subject: re PR debug/54693 (VTA guality issues with loops) X-Git-Tag: releases/gcc-4.8.0~2435 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8efb4b35f3dbd086544c67b2835e579e3926a516;p=thirdparty%2Fgcc.git re PR debug/54693 (VTA guality issues with loops) PR debug/54693 * loop-unroll.c (loop_exit_at_end_p): Skip debug insns. From-SVN: r192958 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 94dc1035bbfc..fd75ccd3a3eb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2012-10-29 Alexandre Oliva + + PR debug/54693 + * loop-unroll.c (loop_exit_at_end_p): Skip debug insns. + 2012-10-29 Alexandre Oliva PR debug/54693 diff --git a/gcc/loop-unroll.c b/gcc/loop-unroll.c index 92e3c1a127cd..a539b42a3da0 100644 --- a/gcc/loop-unroll.c +++ b/gcc/loop-unroll.c @@ -215,7 +215,7 @@ loop_exit_at_end_p (struct loop *loop) /* Check that the latch is empty. */ FOR_BB_INSNS (loop->latch, insn) { - if (INSN_P (insn)) + if (NONDEBUG_INSN_P (insn)) return false; }