OSDN Git Service

* calls.c (expand_call): Don't emit reg notes for a sibcall.
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 1 May 2000 23:59:00 +0000 (23:59 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 1 May 2000 23:59:00 +0000 (23:59 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33596 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/calls.c

index 922b5b0..e616f69 100644 (file)
@@ -1,5 +1,9 @@
 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.
 
 2000-05-01  Jason Merrill  <jason@casey.cygnus.com>
index 78e3f10..3eb7964 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;