Commit 74ba6761 by Richard Kenner

(i386_return_pops_args): Libcalls ignore TARGET_RTD.

From-SVN: r13294
parent aa568834
......@@ -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))) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment