[Bug debug/47106] New: -fcompare-debug failure (length) with -fpartial-inlining -flto -fconserve-stack

zsojka at seznam dot cz gcc-bugzilla@gcc.gnu.org
Wed Dec 29 11:41:00 GMT 2010


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

           Summary: -fcompare-debug failure (length) with
                    -fpartial-inlining -flto -fconserve-stack
           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 22864
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22864
reduced testcase

Compiler output:
$ gcc -O -fpartial-inlining -flto -fconserve-stack -fcompare-debug pr47106.C 
gcc: error: pr47106.C: -fcompare-debug failure (length)

Different code is generated with and without -g.

Tested revisions:
r168296 - fail



More information about the Gcc-bugs mailing list