From: Richard Kenner Date: Thu, 12 Dec 1996 13:09:15 +0000 (-0500) Subject: (i386_return_pops_args): Libcalls ignore TARGET_RTD. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=74ba6761da8bd5a95b8e01bde002656fa8e5b64c;p=gcc.git (i386_return_pops_args): Libcalls ignore TARGET_RTD. From-SVN: r13294 --- diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index e069cb49525..d0b3ac0307a 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))) {