This is the mail archive of the gcc-bugs@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]

[Bug rtl-optimization/54365] ARM optimization bug when pointer arithmetic wraps


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54365

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fweimer at redhat dot com

--- Comment #4 from Florian Weimer <fweimer at redhat dot com> 2012-08-27 07:39:15 UTC ---
(In reply to comment #0)
>  $ gcc -O2 compilerbug.c 
>  $ ./a.out 
> no wrap
>  $ # Oh dear!

Could you try with "-O2 -fwrapv" for completeness?  Thanks.


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