[LLVMbugs] [Bug 12084] Bad optimization of numeric literal masks
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Feb 27 14:49:26 PST 2012
http://llvm.org/bugs/show_bug.cgi?id=12084
Eli Friedman <sharparrow1 at yahoo.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |sharparrow1 at yahoo.com
Resolution| |INVALID
--- Comment #1 from Eli Friedman <sharparrow1 at yahoo.com> 2012-02-27 16:49:26 CST ---
Your code has undefined behavior because the addition in the computation of w2
overflows. See
http://blog.llvm.org/2011/05/what-every-c-programmer-should-know.html .
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list