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 target/52811] New: -O3 flag makes xorg-server-1.11.4 compile fail on amd64


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.


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