<div dir="ltr"><div class="gmail_extra">LGTM, but CCing Rafael in case he has a better idea of how to attack this.<br><br><div class="gmail_quote">On Tue, Jan 21, 2014 at 10:23 AM, Nico Rieck <span dir="ltr"><<a href="mailto:nico.rieck@gmail.com" target="_blank">nico.rieck@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This patch delays the call to Sema::checkAttributesAfterMerging to delay<br>
linkage computation. This has already been done once in the past, but<br>
when auto is involved this is not enough and something like the<br>
following crashes:<br>
<br>
namespace { class Internal {}; }<br>
__attribute__((weak)) auto f = Internal();<br>
<br>
<br>
-Nico<br>
<br>_______________________________________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br>
<br></blockquote></div><br></div></div>