[Bug target/52811] New: -O3 flag makes xorg-server-1.11.4 compile fail on amd64
goeland86 at gmail dot com
gcc-bugzilla@gcc.gnu.org
Sat Mar 31 20:50:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52811
Bug #: 52811
Summary: -O3 flag makes xorg-server-1.11.4 compile fail on
amd64
Classification: Unclassified
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: goeland86@gmail.com
When compiling xorg-server-1.11.4 with the -O3 optimization flag enabled, the
compilation of xorg-server fails in xf86EdidModes.c at line 747, about an array
subscript being above array bounds.
Recompiling with the -O2 flag the error disappears without any other changes to
the configuration.
I ran into the problem with gcc-4.5.3 today, but I ran into it several months
back, possibly with 4.5.2 (I'm not quite sure, and didn't think it was gcc
related at the time.)
This happened on Gentoo reportedly to others besides myself, according to
echoes in #gentoo on irc.freenode.net.
More information about the Gcc-bugs
mailing list