US-CERT Vulnerability Note VU#162289

Robert Dewar dewar@adacore.com
Mon Apr 14 20:48:00 GMT 2008


Joe Buck wrote:
> On Mon, Apr 14, 2008 at 04:27:40PM -0400, Robert Dewar wrote:
>> Ian Lance Taylor wrote:
>>
>>> A theoretical argument for why somebody might write problematic code
>>> is http://www.fefe.de/openldap-mail.txt .
>>>
>>> I don't know where, or even if, such code is actually found in the
>>> wild.
>>>
>>> Ian
>> Fair enough question. The other question of course is how much this
>> optimization saves.
> 
> The big savings are in loops, where the compiler can determine that
> it doesn't have to consider the possibility of aliasing and can therefore
> use values in registers instead of reloading from memory.

Savings? yes
Big? (from this particular optimization) dubious without data.



More information about the Gcc mailing list