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

            Bug ID: 87905
           Summary: structures in two different cpp source files with same
                    name get flagged by ODR warning
           Product: gcc
           Version: lto
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
          Assignee: unassigned at gcc dot gnu.org
          Reporter: shentino at gmail dot com
                CC: marxin at gcc dot gnu.org
  Target Milestone: ---

Created attachment 44964
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44964&action=edit
demonstrates the problem

This only happens when I enable -flto

Note in the test package that neither struct is exposed to the other
translation unit.

Reply via email to