aboutsummaryrefslogtreecommitdiff
path: root/gcc/calls.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@cygnus.com>2000-05-01 16:59:00 -0700
committerRichard Henderson <rth@gcc.gnu.org>2000-05-01 16:59:00 -0700
commit8be9eb00e597711234653e0f9647f63f1196b88f (patch)
tree16a16614a44a3ce8b5acfd2d907ca45d20147f62 /gcc/calls.c
parent5062dbd5ae2d18db9d6e715b38ee2e0a724fcdcc (diff)
downloadgcc-8be9eb00e597711234653e0f9647f63f1196b88f.zip
gcc-8be9eb00e597711234653e0f9647f63f1196b88f.tar.gz
gcc-8be9eb00e597711234653e0f9647f63f1196b88f.tar.bz2
* calls.c (expand_call): Don't emit reg notes for a sibcall.
From-SVN: r33596
Diffstat (limited to 'gcc/calls.c')
-rw-r--r--gcc/calls.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/calls.c b/gcc/calls.c
index 78e3f10..3eb7964 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;