[LLVMbugs] [Bug 13346] memory corruption with casts to union values

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jul 12 16:36:21 PDT 2012


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

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-07-12 18:36:21 CDT ---
You're loading uninitialized memory, which is undefined behavior; you're just
getting lucky with gcc.

-- 
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