[Bug debug/45531] New: -fcompare-debug failure with -fvar-tracking-uninit, codegen differences

zsojka at seznam dot cz gcc-bugzilla@gcc.gnu.org
Fri Sep 3 23:51:00 GMT 2010


Compiler output:
$ gcc -fvar-tracking-uninit -fcompare-debug testcase.c
testcase.c:1:0: warning: variable tracking requested, but useless unless
producing debug info [enabled by default]
gcc: error: testcase.c: -fcompare-debug failure (length)

The failure appears with -g as well, but the warning isn't shown in that case.

Tested revisions:
r163636 - fail
r153685 - fail


-- 
           Summary: -fcompare-debug failure with -fvar-tracking-uninit,
                    codegen differences
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: zsojka at seznam dot cz
  GCC host triplet: x86_64-pc-linux-gnu
GCC target triplet: x86_64-pc-linux-gnu


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



More information about the Gcc-bugs mailing list