[llvm-bugs] [Bug 27255] NULL-based pointer arithmetic generates ud2
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Apr 7 09:47:41 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=27255
Reid Kleckner <rnk at google.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution|--- |INVALID
--- Comment #6 from Reid Kleckner <rnk at google.com> ---
I agree with Sanjoy's interpretation of LangRef.
stsp, it looks like we don't support doing pointer arithmetic off of a null
pointer to address data. Sean gave a reasonable source workaround.
--
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/20160407/9503f70c/attachment.html>
More information about the llvm-bugs
mailing list