From: Richard Henderson Date: Mon, 1 May 2000 23:59:00 +0000 (-0700) Subject: * calls.c (expand_call): Don't emit reg notes for a sibcall. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8be9eb00e597711234653e0f9647f63f1196b88f;p=gcc.git * calls.c (expand_call): Don't emit reg notes for a sibcall. From-SVN: r33596 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 922b5b069db..e616f69fd67 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2000-05-01 Richard Henderson + + * calls.c (expand_call): Don't emit reg notes for a sibcall. + 2000-05-01 Richard Henderson * ifcvt.c (if_convert): Only verify_flow_info if ENABLE_CHECKING. diff --git a/gcc/calls.c b/gcc/calls.c index 78e3f102e05..3eb79644420 100644 --- a/gcc/calls.c +++ b/gcc/calls.c @@ -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;