Tim Northover <> changed:

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

--- Comment #1 from Tim Northover <> ---
This code violates strict-aliasing and alignment requirements and so has
undefined behaviour. The most portable way to do this kind of type punning is
via a memcpy to a local inside the Read function.

You are receiving this mail because:
You are on the CC list for the bug.
llvm-bugs mailing list

Reply via email to