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: [m68k] Fix PR target/13292: -msoft-float seems to corrupt builtindefines


Joseph S. Myers wrote:
On Wed, 16 Jun 2004, Bernardo Innocenti wrote:


I just wonder who's using this stuff.  Perhaps it's
just something mandated by C99 and not yet fully
implemented in glibc.

glibc is much nearer implementing C99 than GCC. The problems that I know of are all documented in glibc's CONFORMANCE file <http://sources.redhat.com/cgi-bin/cvsweb.cgi/~checkout~/libc/CONFORMANCE?rev=1.10&content-type=text/plain&cvsroot=glibc> (some need compiler support to fix, some don't). But in this case, <float.h> is a header required of freestanding implementations, so GCC provides it rather than glibc. If the documentation explaining freestanding and hosted implementations and environments in standards.texi is insufficiently clear, please say how it can be improved. (A C++ expert writing the missing corresponding information about C++ standards and GCC's support for them would be nice.)

I had the (wrong) impression that FLT_EVAL_METHOD was meant to be used in the C support library to switch between different implementations of fp support functions.

Since there were no users of that symbol in any glibc headers,
I concluded that it was probably unimplemented.

RTH clarified this by explaining that FLT_EVAL_METHOD
is for use by client applications (hence the lack of
leading underscores ;-).

So our documentation in standards.texi is OK.  Is the C99
standard available in electronic form?

[of course not... why would an ISO standard be freely
available for reference by developers trying to use or
even implement it? <grin>]

--
 // Bernardo Innocenti - Develer S.r.l., R&D dept.
\X/  http://www.develer.com/


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