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.


> Actually, not quite; this fix is for a bug report we received directly
> from Sun, mixing code between the Sun compiler and the GCC compiler.
> The bug report is the example Carlos gave in his patch.

The code that Carlos posted is pathological.

> 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.

I'm not discussing that, the ABI is the ABI.  Let's say that GCC "optimizes" 
the ABI and this works 99.9999999% of the time.  This has worked well from 
the very beginning on Solaris so I'd be very reluctant to reverse the defaut 
mode now for a 0.00000001% frequency.

-- 
Eric Botcazou


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