[llvm-bugs] [Bug 36610] clang can miscompile code involving uninitialized value and xor-s

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Mar 6 13:55:28 PST 2018


Eli Friedman <efriedma at codeaurora.org> changed:

           What    |Removed                     |Added
         Resolution|---                         |INVALID
                 CC|                            |efriedma at codeaurora.org
             Status|NEW                         |RESOLVED

--- Comment #5 from Eli Friedman <efriedma at codeaurora.org> ---
Using the value of an uninitialized variable is undefined behavior in C.  See
http://blog.llvm.org/2011/05/what-every-c-programmer-should-know.html .

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/20180306/26c135b1/attachment.html>

More information about the llvm-bugs mailing list