mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-23 15:01:17 +08:00
re PR debug/45531 (-fcompare-debug failure with -fvar-tracking-uninit, codegen differences)
PR debug/45531 * cfglayout.c (fixup_reorder_chain): Skip debug insns. From-SVN: r164032
This commit is contained in:
parent
359bea1da4
commit
c485684d0a
@ -1,3 +1,8 @@
|
||||
2010-09-08 Alexandre Oliva <aoliva@redhat.com>
|
||||
|
||||
PR debug/45531
|
||||
* cfglayout.c (fixup_reorder_chain): Skip debug insns.
|
||||
|
||||
2010-09-08 Alexandre Oliva <aoliva@redhat.com>
|
||||
|
||||
PR debug/45419
|
||||
|
@ -955,7 +955,7 @@ fixup_reorder_chain (void)
|
||||
insn = BB_END (e->src);
|
||||
end = PREV_INSN (BB_HEAD (e->src));
|
||||
while (insn != end
|
||||
&& (!INSN_P (insn) || INSN_LOCATOR (insn) == 0))
|
||||
&& (!NONDEBUG_INSN_P (insn) || INSN_LOCATOR (insn) == 0))
|
||||
insn = PREV_INSN (insn);
|
||||
if (insn != end
|
||||
&& locator_eq (INSN_LOCATOR (insn), (int) e->goto_locus))
|
||||
@ -970,7 +970,7 @@ fixup_reorder_chain (void)
|
||||
{
|
||||
insn = BB_HEAD (e->dest);
|
||||
end = NEXT_INSN (BB_END (e->dest));
|
||||
while (insn != end && !INSN_P (insn))
|
||||
while (insn != end && !NONDEBUG_INSN_P (insn))
|
||||
insn = NEXT_INSN (insn);
|
||||
if (insn != end && INSN_LOCATOR (insn)
|
||||
&& locator_eq (INSN_LOCATOR (insn), (int) e->goto_locus))
|
||||
|
Loading…
x
Reference in New Issue
Block a user