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 c++/36565] Wrong code generation with -O2 and segfault with -O3



------- 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


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