This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/54365] ARM optimization bug when pointer arithmetic wraps
- From: "fweimer at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 27 Aug 2012 07:39:15 +0000
- Subject: [Bug rtl-optimization/54365] ARM optimization bug when pointer arithmetic wraps
- Auto-submitted: auto-generated
- References: <bug-54365-4@http.gcc.gnu.org/bugzilla/>
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.