[llvm-bugs] [Bug 28355] Bug in -indvars opt

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jun 29 08:10:06 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=28355

Sanjay Patel <spatel+llvm at rotateright.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |spatel+llvm at rotateright.com
         Resolution|---                         |INVALID

--- Comment #1 from Sanjay Patel <spatel+llvm at rotateright.com> ---
Your program appears to have undefined behavior:

$ clang interleave_bits_true.c -fsanitize=undefined-trap
-fsanitize-undefined-trap-on-error
bin $ ./a.out
Illegal instruction: 4

The shift by "i+1" will be undefined when i is 31.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160629/24cbec8b/attachment-0001.html>


More information about the llvm-bugs mailing list