From 74ba6761da8bd5a95b8e01bde002656fa8e5b64c Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Thu, 12 Dec 1996 08:09:15 -0500 Subject: [PATCH] (i386_return_pops_args): Libcalls ignore TARGET_RTD. From-SVN: r13294 --- gcc/config/i386/i386.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))) { -- 2.7.4