https://llvm.org/bugs/show_bug.cgi?id=27255

Sean Silva <chisophu...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |chisophu...@gmail.com
         Resolution|---                         |INVALID

--- Comment #1 from Sean Silva <chisophu...@gmail.com> ---
I believe this is UB: http://stackoverflow.com/a/17979772

`(unsigned char *)(uintptr_t)(a)` should work though.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to