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

            Bug ID: 128723
           Summary: Homographs from outside generics leak inside
                    aggregates and shadow inner declarations
           Product: gcc
           Version: 16.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
          Assignee: unassigned at gcc dot gnu.org
          Reporter: liam at liampwll dot com
                CC: dkm at gcc dot gnu.org
  Target Milestone: ---

Created attachment 66165
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=66165&action=edit
reproducer

See the attached reproducer which incorrectly prints [True]. When there is a
declaration with the same name both outside and inside of a generic, aggregates
will incorrectly use the value from outside of the generic.

Bisected to g:9c0382624b302be3fda8a465dd37615344f7bef6.

Reply via email to