This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: PR2076
- To: David Edelsohn <dje at watson dot ibm dot com>
- Subject: Re: PR2076
- From: Dale Johannesen <dalej at apple dot com>
- Date: Thu, 26 Apr 2001 10:32:08 -0700
- Cc: Dale Johannesen <dalej at apple dot com>, Geoff Keating <geoffk at redhat dot com>, gcc at gcc dot gnu dot org
On Wednesday, April 25, 2001, at 06:30 PM, David Edelsohn wrote:
> This does not seem correct to me. The question is not where the
> receiver looks for the arguments, but what the ABI says. The ABI (for
> AIX
> at least) says that it must be placed in both locations.
True, but I don't think that's necessarily an overriding consideration,
IF no runtime compatability problems can arise. According to its docs,
anyway, gcc has been willing to tolerate some actual runtime
incompatiblities
(see the chapter "Interfacing to GCC Output" for examples). If that's
acceptable, this difference [which is harmless, and results in more
efficient code generation in a common case, namely printf("%f")] should
be also, IMHO. To be sure, my main job at the moment is improving the
quality of the generated code, which may bias me a bit.:)
However, I am not the final arbiter. So I will also do it in full
pedantic ABI conformance, and whoever has authority can take their pick.