This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/64689] tree-vectorize generates wrong code with inlined function - minimum working example included
- From: "trippels at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 20 Jan 2015 14:10:26 +0000
- Subject: [Bug tree-optimization/64689] tree-vectorize generates wrong code with inlined function - minimum working example included
- Auto-submitted: auto-generated
- References: <bug-64689-4 at http dot gcc dot gnu dot org/bugzilla/>
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