mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-16 08:30:31 +08:00
combine.c (distribute_notes): Discard REG_LIBCALL and REG_RETVAL when deleting libcall sequence collapsed to...
* combine.c (distribute_notes): Discard REG_LIBCALL and REG_RETVAL when deleting libcall sequence collapsed to a single instruction. From-SVN: r37037
This commit is contained in:
parent
5129d2ceee
commit
c71e120103
@ -1,3 +1,8 @@
|
||||
2000-10-24 Alexandre Oliva <aoliva@redhat.com>
|
||||
|
||||
* combine.c (distribute_notes): Discard REG_LIBCALL and REG_RETVAL
|
||||
when deleting libcall sequence collapsed to a single instruction.
|
||||
|
||||
2000-10-24 Andrew Haley <aph@cygnus.co.uk>
|
||||
|
||||
* expr.c (do_store_flag): Don't crash if either side of a
|
||||
|
@ -12239,6 +12239,10 @@ distribute_notes (notes, from_insn, i3, i2, elim_i2, elim_i1)
|
||||
place = prev_real_insn (from_insn);
|
||||
if (tem && place)
|
||||
XEXP (tem, 0) = place;
|
||||
/* If we're deleting the last remaining instruction of a
|
||||
libcall sequence, don't add the notes. */
|
||||
else if (XEXP (note, 0) == from_insn)
|
||||
tem = place = 0;
|
||||
}
|
||||
break;
|
||||
|
||||
@ -12252,6 +12256,10 @@ distribute_notes (notes, from_insn, i3, i2, elim_i2, elim_i1)
|
||||
place = next_real_insn (from_insn);
|
||||
if (tem && place)
|
||||
XEXP (tem, 0) = place;
|
||||
/* If we're deleting the last remaining instruction of a
|
||||
libcall sequence, don't add the notes. */
|
||||
else if (XEXP (note, 0) == from_insn)
|
||||
tem = place = 0;
|
||||
}
|
||||
break;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user