This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: changing "configure" to default to "gcc -g -O2 -fwrapv ..."
Bernd Schmidt <bernds_cb1@t-online.de> writes:
[...]
| >> You say you doubt it affects performance. Based on what? Facts
| >> please, not guesses and hand-waiving...
| > The burden of proof ought to be on the guys proposing -O2
| > optimizations that break longstanding code, not on the skeptics.
|
| IMHO the burden of proof should be on the people who are surprised
| that interesting things happen when they write in a language that
| isn't C and then try to pass it through a C compiler.
I don't believe that statement is accurate. You will be hard pressed
to state precisely what "a language that isn't C" means.
The ISO C standard defines an unbounded family of languages. And
certainly the wrapping semantics is part of that family.
-- Gaby