uineIntel GNU/Linux
--
Summary: Wrong code generation with -O2 and segfault with -O3
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: rlblaster at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36565
--- 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