[Bug c++/51731] New: code generation bug in negative indices in arrays on 64-bit targets
m.hekkelman at cmbi dot ru.nl
gcc-bugzilla@gcc.gnu.org
Mon Jan 2 12:26:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51731
Bug #: 51731
Summary: code generation bug in negative indices in arrays on
64-bit targets
Classification: Unclassified
Product: gcc
Version: 4.6.1
Status: UNCONFIRMED
Severity: major
Priority: P3
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: m.hekkelman@cmbi.ru.nl
Created attachment 26217
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26217
source file containing a fully self contained bug description
When compiling the attached code with -O3 the generated code is incorrect as
can be seen by the output of the program. The problem was introduced in gcc
4.5, earlier versions did not have this problem.
More information about the Gcc-bugs
mailing list