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

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #1)
> Slightly cleaned up:
> ```
> int f(long l, short *sp) {
>   unsigned short us;
>   for (; l; l -= 4, sp += 4)
>     us += sp[1] + sp[3];
>   return us;
> }
> ```
> 
> `-O3 -fwrapv` is enough to preproduced the ICE.
> 
> I am 99% sure it was introduced by r16-4537-g40d6dbf0f8dd91 .

Or r16-4500.

Reply via email to