This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/46150] New: -fcompare-debug failure (length) with -fPIC -O2
- From: "zsojka at seznam dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 23 Oct 2010 15:33:28 +0000
- Subject: [Bug debug/46150] New: -fcompare-debug failure (length) with -fPIC -O2
- Auto-submitted: auto-generated
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