This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/46338] New: -fcompare-debug failure (length) with -O -fprofile-generate
- From: "zsojka at seznam dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 7 Nov 2010 02:15:09 +0000
- Subject: [Bug debug/46338] New: -fcompare-debug failure (length) with -O -fprofile-generate
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46338
Summary: -fcompare-debug failure (length) with -O
-fprofile-generate
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: debug
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: zsojka@seznam.cz
CC: aoliva@gcc.gnu.org
Host: x86_64-pc-linux-gnu
Target: x86_64-pc-linux-gnu
Created attachment 22303
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22303
preprocessed source
Compiler output:
$ gcc -O -fprofile-generate -fcompare-debug testcase.C -w
gcc: error: testcase.C: -fcompare-debug failure (length)
The original source fails with r165699, but the reduced one doesn't... I don't
know if this is a regression or not.