This is the mail archive of the gcc-patches@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: [wwwdocs] gcc-4.1/changes.html: Mention optimizer improvements.


* Diego Novillo:

> On Fri, Apr 29, 2005 at 12:17:44AM +0200, Florian Weimer wrote:
>
>> For example, in the following loop, is the call to do_something
>> optimized away?
>> 
> It isn't now because VRP is not being aggressive enough, but
> nothing is stopping it from growing more brains in that
> direction.

If this is implemented, such a change should be definitely mentioned
in the changelog, and developers should be encouraged to compile with
-fwrapv.  Some ways to prevent buffer overflows through overflow in
signed integer arithmetic no longer work once VRP is more
aggressive...


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