diff options
author | Kaz Kojima <kkojima@gcc.gnu.org> | 2004-05-12 04:32:01 +0000 |
---|---|---|
committer | Kaz Kojima <kkojima@gcc.gnu.org> | 2004-05-12 04:32:01 +0000 |
commit | e51f91591208c43fbe703711dc2e7c91ea01b835 (patch) | |
tree | 230c058f0d0894ea4c0b26144f6d5bfd20325ea5 /gcc/combine.c | |
parent | d0fb39b33008ba595c6564d978510ca35e304446 (diff) | |
download | gcc-e51f91591208c43fbe703711dc2e7c91ea01b835.zip gcc-e51f91591208c43fbe703711dc2e7c91ea01b835.tar.gz gcc-e51f91591208c43fbe703711dc2e7c91ea01b835.tar.bz2 |
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
Diffstat (limited to 'gcc/combine.c')
-rw-r--r-- | gcc/combine.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/combine.c b/gcc/combine.c index eea9bf2..49b486e 100644 --- a/gcc/combine.c +++ b/gcc/combine.c @@ -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; |