https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108889
Paul Thomas <pault at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Assignee|unassigned at gcc dot gnu.org |pault at gcc dot gnu.org Last reconfirmed| |2024-07-03 --- Comment #6 from Paul Thomas <pault at gcc dot gnu.org> --- Created attachment 58586 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58586&action=edit Fix for this PR This does the job but it is still a bit clunky. Having recently used the location field of locus to determine decl order, I rather think that it can be similarly used to determine, when an entity has been assigned to in the current scope. I have a backlog of regressions to attend to first. I will come back to this one very soon. Paul