https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127981
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Ever confirmed|0 |1
Last reconfirmed| |2026-10-19
Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot
gnu.org
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed. I think we've seen a duplicate.
The bug is in stack-slot partitioning at expand time (add_scope_conflicts_1 in
gcc/cfgexpand.cc). In function dc, the locals dj and dl are both live at once
but get the same stack slot, so a store to one overwrites the other.
I have a fix.