https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128839
Drea Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Component|c |tree-optimization
Last reconfirmed| |2026-11-17
Keywords| |wrong-code
Status|UNCONFIRMED |NEW
--- Comment #1 from Drea Pinski <pinskia at gcc dot gnu.org> ---
That Tentative fix will reject some correct calls.
I think you need to check if the SSA name is default PARM_DECL for the chain
rather than the decl.