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

Reply via email to