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

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Sam James from comment #3)
> ```
> $ /tmp/gcc-pfx/bin/gcc /tmp/a.c -o /tmp/a -O2 -fwrapv && /tmp/a
> 0
> $ /tmp/gcc-pfx/bin/gcc /tmp/a2.c -o /tmp/a -O2 -fwrapv && /tmp/a
> 0
> ```
> 
> What am I missing?

I was just testing with `-O3` (and not -fwrapv). And that failed in GCC 7.4.0.

Reply via email to