https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77399
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|ASSIGNED |RESOLVED
--- Comment #18 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Alexander Monakov from comment #17)
> Test shown in comment #2 is still not optimized at -O2, so as comment #12
> said,
>
> > Load part remains.
>
> Not sure if that needs to be split off into a separate bug.
The load part was taken care of in GCC 10.
(In reply to Andrew Pinski from comment #2)
> Confirmed.
>
> One extra case:
This one is optimized since GCC 10. The original case in comment #0 has been
optimized since GCC 7.
so yes this case be closed now.