https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99959
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot
gnu.org
Status|NEW |ASSIGNED
--- Comment #12 from Richard Biener <rguenth at gcc dot gnu.org> ---
The issue is that the FRAME.0 decl is both DECL_IGNORED_P and DECL_ARTIFICIAL.
We could definitely do better if we'd be able to detect this case and create
a nice debug expression for the replacement in
tree-sra.cc:create_access_replacement
I can fix that by allowing DECL_NONLOCAL_FRAME.