* calls.c (expand_call): Don't emit reg notes for a sibcall.
authorRichard Henderson <rth@cygnus.com>
Mon, 1 May 2000 23:59:00 +0000 (16:59 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Mon, 1 May 2000 23:59:00 +0000 (16:59 -0700)
From-SVN: r33596

gcc/ChangeLog
gcc/calls.c

index 922b5b069dbd1641a78b63b325d830b16758a205..e616f69fd67428662221916ecc5015e3bab576c4 100644 (file)
@@ -1,3 +1,7 @@
+2000-05-01  Richard Henderson  <rth@cygnus.com>
+
+       * calls.c (expand_call): Don't emit reg notes for a sibcall.
+
 2000-05-01  Richard Henderson  <rth@cygnus.com>
 
        * ifcvt.c (if_convert): Only verify_flow_info if ENABLE_CHECKING.
index 78e3f102e0569320ec21e94b8bc30c9f0420da9f..3eb79644420fdb1d7f71a423eeb097b2551529a0 100644 (file)
@@ -2908,7 +2908,8 @@ expand_call (exp, target, ignore)
         Test valreg so we don't crash; may safely ignore `const'
         if return type is void.  Disable for PARALLEL return values, because
         we have no way to move such values into a pseudo register.  */
-      if ((flags & (ECF_CONST | ECF_PURE))
+      if (pass
+         && (flags & (ECF_CONST | ECF_PURE))
          && valreg != 0 && GET_CODE (valreg) != PARALLEL)
        {
          rtx note = 0;