http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46782
Summary: -fcompare-debug failure (length) with -fvar-tracking
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: debug
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Host: x86_64-pc-linux-gnu
Target: x86_64-pc-linux-gnu
Created attachment 22614
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22614
reduced testcase
Compiler output:
$ gcc -fvar-tracking -fcompare-debug pr46782.c
pr46782.c:1:0: warning: variable tracking requested, but useless unless
producing debug info [enabled by default]
gcc: error: pr46782.c: -fcompare-debug failure (length)
Fail with -g as well.
Tested revisions:
r167356 - fail
r153685 - fail
4.5 r166509 - fail