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 debug/46150] New: -fcompare-debug failure (length) with -fPIC -O2


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


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