This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/52811] New: -O3 flag makes xorg-server-1.11.4 compile fail on amd64
- From: "goeland86 at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 31 Mar 2012 20:23:21 +0000
- Subject: [Bug target/52811] New: -O3 flag makes xorg-server-1.11.4 compile fail on amd64
- Auto-submitted: auto-generated
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.