This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/64689] tree-vectorize generates wrong code with inlined function - minimum working example included


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]