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

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |trippels at gcc dot gnu.org
         Resolution|---                         |INVALID

--- Comment #1 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Compile with gcc-5 and use -fsanitize=undefined:

markus@x4 tmp % gcc -fsanitize=undefined  test.c -o test -O3 -std=c99 -pedantic
-Wall -Wextra -fwrapv -fno-strict-aliasing
markus@x4 tmp % ./test
test.c:67:21: runtime error: shift exponent -4 is negative
test.c:68:21: runtime error: shift exponent -4 is negative

Reply via email to