aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1996-12-12 08:09:15 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1996-12-12 08:09:15 -0500
commit74ba6761da8bd5a95b8e01bde002656fa8e5b64c (patch)
treed583f818d39fcbbbd9284ab802cad5b71ebc2b89
parentaa56883497eb081219aabcf8187c4d8539010bed (diff)
downloadgcc-74ba6761da8bd5a95b8e01bde002656fa8e5b64c.zip
gcc-74ba6761da8bd5a95b8e01bde002656fa8e5b64c.tar.gz
gcc-74ba6761da8bd5a95b8e01bde002656fa8e5b64c.tar.bz2
(i386_return_pops_args): Libcalls ignore TARGET_RTD.
From-SVN: r13294
-rw-r--r--gcc/config/i386/i386.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index e069cb4..d0b3ac0 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -487,7 +487,7 @@ i386_return_pops_args (fundecl, funtype, size)
tree funtype;
int size;
{
- int rtd = TARGET_RTD;
+ int rtd = TARGET_RTD && TREE_CODE (fundecl) != IDENTIFIER_NODE;
/* Cdecl functions override -mrtd, and never pop the stack */
if (!lookup_attribute ("cdecl", TYPE_ATTRIBUTES (funtype))) {