This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/42630] "-fcompare-debug failure (length)" with "-O1 -fvariable-expansion-in-unroller -funroll-loops"
- From: "aoliva at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Jan 2010 14:42:02 -0000
- Subject: [Bug debug/42630] "-fcompare-debug failure (length)" with "-O1 -fvariable-expansion-in-unroller -funroll-loops"
- References: <bug-42630-14164@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from aoliva at gcc dot gnu dot org 2010-01-09 14:42 -------
Subject: Bug 42630
Author: aoliva
Date: Sat Jan 9 14:41:35 2010
New Revision: 155764
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155764
Log:
gcc/ChangeLog:
PR debug/42630
* loop-unroll.c (referenced_in_one_insn_in_loop_p): Count debug
uses in new incoming argument. Free body.
(reset_debug_uses_in_loop): New.
(analyze_insn_to_expand_var): Call the latter if the former found
anything. Fix whitespace. Reject invalid dest overlaps before
going through all insns in the loop.
gcc/testsuite/ChangeLog:
PR debug/42630
* gcc.dg/pr42630.c: New.
Added:
trunk/gcc/testsuite/gcc.dg/pr42630.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/loop-unroll.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42630