bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GCC optimizes integer overflow: bug or feature?


From: Robert Dewar
Subject: Re: GCC optimizes integer overflow: bug or feature?
Date: Tue, 19 Dec 2006 22:28:17 -0500
User-agent: Thunderbird 1.5.0.8 (Windows/20061025)

Dave Korn wrote:

  Why isn't that just a buggy program with wilful disregard for the use of
correct synchronisation techniques?

Right, I think most people would agree it is.

But for sure, if you consider that making the code go faster is itself
a change in behavior, then obviously all optimization changes the
behavior, but so does any improvement in the compiler in terms of
the unoptimized code generated.


    cheers,
      DaveK





reply via email to

[Prev in Thread] Current Thread [Next in Thread]