[Bug debug/80526] New: -fcompare-debug doesn't make sense for -c -flto

trippels at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Apr 26 11:15:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80526

            Bug ID: 80526
           Summary: -fcompare-debug doesn't make sense for -c -flto
           Product: gcc
           Version: 7.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
          Assignee: unassigned at gcc dot gnu.org
          Reporter: trippels at gcc dot gnu.org
  Target Milestone: ---

When using -fcompare-debug with "-c -flto" the resulting two *.gkd files always
have size zero.
So it doesn't make sense to compile twice in this case, because there is
nothing to compare.


More information about the Gcc-bugs mailing list