This is the mail archive of the
mailing list for the GCC project.
- From: Robert Dewar <dewar at adacore dot com>
- To: Paul Schlie <schlie at comcast dot net>
- Cc: gcc at gcc dot gnu dot org
- Date: Sat, 01 Jan 2005 20:22:44 -0500
- Subject: Re: -funsafe-loop-optimizations
- References: <BDFCB496.872Bfirstname.lastname@example.org>
Paul Schlie wrote:
As I believe stated earlier, it would seem the compiler arguably has no
license to change semantics of the language;
That's not right, it merely has to have a mode in which it operates in
a strictly standard manner. There
is nothing in the C standard that prevents a compiler from having options
for non-standard behavior.
GNU C already has non-standard extensions, this would just be another case
where, by setting certain options, you get non-standard behavior.