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

Andi Kleen <andi-gcc at firstfloor dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andi-gcc at firstfloor dot org

--- Comment #1 from Andi Kleen <andi-gcc at firstfloor dot org> ---
 char c = 0;
  for (; a; a--)
    for (; c >= 0; c++);

Don't you rely on signed overflow which is undefined?

-fsanitize=signed-integer-overflow
-fwrapv

Reply via email to