https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113228
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org
--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 56991
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56991&action=edit
gcc14-pr113228.patch
So I'd just go with a simple patch to recalculate_side_effects.
Changing the case SSA_NAME: in gimplify_expr obviously isn't needed, that works
fine as is.