https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120126
Simon Martin <simartin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2025-05-13 Ever confirmed|0 |1 Assignee|unassigned at gcc dot gnu.org |simartin at gcc dot gnu.org Status|UNCONFIRMED |ASSIGNED --- Comment #2 from Simon Martin <simartin at gcc dot gnu.org> --- Good catch Patrick, thanks! I just checked and the key part from the patch that fixes this PR is [...]when walking a DECL_EXPR, it also walks the DECL's type[...]. I'll submit a patch adding this PR case to the testsuite.