* calls.c (expand_call): Don't emit reg notes for a sibcall.

From-SVN: r33596
This commit is contained in:
Richard Henderson 2000-05-01 16:59:00 -07:00 committed by Richard Henderson
parent 5062dbd5ae
commit 8be9eb00e5
2 changed files with 6 additions and 1 deletions

View 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.

View 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;