<div dir="ltr"><div class="gmail_default" style>Using a union for type punning is a C feature, not a C++ feature.</div><div class="gmail_default" style><br></div><div class="gmail_default" style>Please use memcpy to move the underlying storage between well typed variables. That is the best C++ pattern for this.</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jan 9, 2013 at 8:33 AM,  <span dir="ltr"><<a href="mailto:dag@cray.com" target="_blank">dag@cray.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">Anton Korobeynikov <<a href="mailto:anton@korobeynikov.info">anton@korobeynikov.info</a>> writes:<br>
<br>
>>> It looks like you may have forgotten the patch.<br>
>><br>
>> This is the cover-letter from git send-email.  The actual patch is sent<br>
>> as a reply.<br>
> Where? There is no reply. Will you please provide a link to the email<br>
> in question?<br>
<br>
</div>Found it:<br>
<br>
<a href="http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20130107/161398.html" target="_blank">http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20130107/161398.html</a><br>
<br>
It doesn't show up in the threaded view in the archives.  None of my<br>
messages to llvm-commits shows up in the threaded view but they do<br>
appear in the author view in the archives.<br>
<br>
Curious.<br>
<span class="HOEnZb"><font color="#888888"><br>
                             -David<br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
</div></div></blockquote></div><br></div>