This is the mail archive of the
mailing list for the GCC project.
Re: Promoting floats to doubles?
On Tue, 2004-05-04 at 11:52, Joseph S. Myers wrote:
> It's a defect in the back-end interface that the front end has a call to
> such a target hook at all.
I think this is more likely a C compiler issue than an ABI issue. If
only the C compiler promotes float to double, then the conversion has to
happen in the C front end. This is the case with the old K&R C
requirement of promoting floats to doubles, which was implemented in the
C front end.
It would be good to check this though. If the SCO compiler supports
Fortran, Java, Ada, or C++, check to see if any of the other languages
need this conversion. My expectation is that they do not.
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com