re PR rtl-optimization/15100 (cc1plus got hang-up on libstdc++-v3/testsuite/abi_check.cc)

PR optimization/15100
	* combine.c (distribute_notes): Don't create a dangling
	REG_LIBCALL/REG_RETVAL note.

From-SVN: r81736
This commit is contained in:
Kaz Kojima 2004-05-12 04:32:01 +00:00
parent d0fb39b330
commit e51f915912
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2004-05-11 Kaz Kojima <kkojima@gcc.gnu.org>
PR optimization/15100
* combine.c (distribute_notes): Don't create a dangling
REG_LIBCALL/REG_RETVAL note.
2004-05-11 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/spe.md (spe_evneg): Rename to negv2si2.

View File

@ -12592,6 +12592,9 @@ distribute_notes (rtx notes, rtx from_insn, rtx i3, rtx i2)
libcall sequence, don't add the notes. */
else if (XEXP (note, 0) == from_insn)
tem = place = 0;
/* Don't add the dangling REG_RETVAL note. */
else if (! tem)
place = 0;
}
break;
@ -12609,6 +12612,9 @@ distribute_notes (rtx notes, rtx from_insn, rtx i3, rtx i2)
libcall sequence, don't add the notes. */
else if (XEXP (note, 0) == from_insn)
tem = place = 0;
/* Don't add the dangling REG_LIBCALL note. */
else if (! tem)
place = 0;
}
break;