This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: What is acceptable for -ffast-math? (Was: associative law in combine)
- To: dewar at gnat dot com
- Subject: Re: What is acceptable for -ffast-math? (Was: associative law in combine)
- From: Joe Buck <jbuck at synopsys dot COM>
- Date: Mon, 30 Jul 2001 18:24:25 -0700 (PDT)
- Cc: moshier at moshier dot ne dot mediaone dot net, mrs at windriver dot com, gcc at gcc dot gnu dot org
>>... The apparent conflicts arise when you say the
>> GNU extensions have to be turned off in order for the compiler
>> to be strictly compliant with the standard.
> Does the standard forbid upwards compatible extensions?
The standard specifies that some names, including names beginning with
two underscores, are reserved to the implementation. Extensions that
use reserved names don't conflict with the standard. But extensions that
introduce new keywords, where the keywords aren't in the implementation
namespace, do conflict with the standard because a programmer can legally
use that word as an identifier.
Example: "typeof".