https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122188

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
The problem is that save_expr in that case just returns its argument because it
has no side-effects, and it is a little bit complicated tree and used multiple
times in the IL.  If it would be done this way before gimplification, we'd
unshare it, but like this we don't.
So, either it should unshare_expr (a) in one spot, or perhaps we can instead
gimplify that expression.

Reply via email to