[LLVMbugs] [Bug 16433] the unary operator shall return a 0 if the value of its operand compares unequal to 0, and -1 (i.e. all bits set) if the value of its operand compares equal to 0.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jun 24 17:51:44 PDT 2013


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

Eli Friedman <sharparrow1 at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |sharparrow1 at yahoo.com
          Component|Static Analyzer             |Frontend
         Resolution|---                         |INVALID
           Assignee|kremenek at apple.com          |unassignedclangbugs at nondot.
                   |                            |org

--- Comment #1 from Eli Friedman <sharparrow1 at yahoo.com> ---
Your code has undefined behavior; you can't pass a char vector to printf's %x
specifier.

-- 
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/20130625/ac17ac7a/attachment.html>


More information about the llvm-bugs mailing list