Displaying 2 results from an estimated 2 matches for "2592a7e6".
2016 Nov 25
2
Placement new and TBAA
On Fri, Nov 25, 2016 at 1:42 AM, Daniel Berlin <dberlin at dberlin.org> wrote:
> What is the purpose of the union there?
>
The purpose of the union is to increase portability by ensuring that the
placement new is not being performed on insufficiently sized or aligned
memory.
> I ask because pretty much no compiler will respecting the unioning without
> visible accesses in all
2016 Nov 26
5
Placement new and TBAA
...mentioned, not with placement new but with a call to a function taking int * and float *, and passing the same address (call site was union).
—
Mehdi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20161125/2592a7e6/attachment.html>