[Bug debug/46150] New: -fcompare-debug failure (length) with -fPIC -O2

zsojka at seznam dot cz gcc-bugzilla@gcc.gnu.org
Sat Oct 23 15:33:00 GMT 2010


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46150

           Summary: -fcompare-debug failure (length) with -fPIC -O2
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz


Created attachment 22135
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22135
packed preprocessed source

Compiler output:
$ gcc -fPIC -O2 -fcompare-debug native-filter.ii 
gcc: error: native-filter.ii: -fcompare-debug failure (length)

Reducing the testcase is incredibly slow, so I am attaching the original
testcase.
It is from kig sources, GPLv2 license, http://edu.kde.org/kig/

Tested revisions:
r165822 - fail
r163636 - OK
r161659 - OK



More information about the Gcc-bugs mailing list