This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] SPARC psABI fix, callee returns struct checking.


From: Mark Mitchell <mark@codesourcery.com>
Date: Wed, 08 Mar 2006 22:52:23 -0800

> We don't see any choice.  Obviously, we can have a switch, but in the
> fully conforming mode, this is how the ABI works, according to Sun's ABI
> experts, and they ought to know.  We can say that on non-Solaris systems
> the ABI requires that callers pass the return address, but on Solaris,
> Sun's compiler doesn't always do that, so it seems we must check.

If anything the "silly conformance" mode should not be the default,
even on Solaris.

The erroneousness of this Sun compiler optimization is too extreme for
words, it's a pessimization and hurts performance for all the common
cases.  We should not make any effort to support it other than to
offer an option that enables it to work but is definitely off by
default.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]