https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81785
Drea Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu.org
--- Comment #7 from Drea Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Eric Gallager from comment #6)
> (In reply to Marek Polacek from comment #4)
> > Looks like removing the optimization regresses c-c++-common/restrict-2.c.
>
> Why would it do that? I don't see any code mentioning restrict being
> touched...
Because `b[j+50]` and `b[j-50]` are handled differently afterwards :).