On Thursday 21 December 2006 02:38, Gabriel Dos Reis wrote:
> Paul Brook <[EMAIL PROTECTED]> writes:
> | > Compiler can optimize it any way it wants,
> | > as long as result is the same as unoptimized one.
> |
> | We have an option for that. It's called -O0.
> |
> | Pretty much all optimization will change the behavior of your program.
> | The important distinction is whether that difference is observable in
> | valid programs. The whole point of langage standards is that they define
> | what constitutes a valid program.
>
> The problem is that what constitutes a valid program tends to differ
> from what constitutes a useful program found in the wild.  The
> question for GCC is how to accomodate for the useful uses without
> getting far away from both conformance and non-conformance.

I never said any different. If fact you'll notice that later in the same email 
(which you have cut) I said pretty much the same thing.

The post I was replying to wasn't suggesting that we should support specific  
cases of nonconforming code, it was saying that we shouldn't change the 
behavior of *any* code.

Paul

Reply via email to