[LLVMbugs] [Bug 16130] clang produces incorrect code with loop/expression at -O2

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue May 28 11:42:42 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=16130

Bill Wendling <wendling at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Bill Wendling <wendling at apple.com> ---
I'm assuming that one of the passes at O3 is realizing that this loop won't
end. And it results in signed overflow, which has undefined behavior.

-- 
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/20130528/98d3c454/attachment.html>


More information about the llvm-bugs mailing list