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

--- Comment #2 from Josef Melcr <jmelcr at gcc dot gnu.org> ---
(In reply to Drea Pinski from comment #1)
> Confirmed.
> 
> Though I wonder how much of it will cause other missed optimizations.
> Maybe it won't happen that much.

Currently it shouldn't be an issue, because we don't optimize assumes all that
much. I am trying to change that. I got ipa-cp working for assumes and that's
when I ran into this. Removing the load prevents constant propagation, because
the constant disappears.

Reply via email to