This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/36565] Wrong code generation with -O2 and segfault with -O3
- From: "rlblaster at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Jun 2008 16:45:45 -0000
- Subject: [Bug c++/36565] Wrong code generation with -O2 and segfault with -O3
- References: <bug-36565-16347@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from rlblaster at gmail dot com 2008-06-21 16:45 -------
Ah, sorry, my bad.
I was overindexing at the line of
arr[i] = prefix_sz % 5;
The behaviour just seemed too odd to me.
Sorry for the inconvenience!
--
rlblaster at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36565