This is the mail archive of the gcc@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]

Re: What is acceptable for -ffast-math? (Was: associative law in combine)



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



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