This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug debug/46338] New: -fcompare-debug failure (length) with -O -fprofile-generate


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]