This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: US-CERT Vulnerability Note VU#162289


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]