<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Aug 15, 2016 at 2:53 PM, Renato Golin via cfe-dev <span dir="ltr"><<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 15 August 2016 at 22:43, Maria Gottschalk <<a href="mailto:gottschalk_maria@yahoo.de">gottschalk_maria@yahoo.de</a>> wrote:<br>
> But actually, there were abi tags already in 4.9.2, e.g.<br>
><br>
</span><span class="">> But then gcc-4.9.2 doesn't emit any, while now clang-3.9.0 does!<br>
<br>
</span>I'd risk say this is a bug in GCC. Or at least a pretty ugly<br>
implementation of something that should be simple.<br></blockquote><div><br></div><div>If it's only applied to an inline function, and that function did in fact take an ABI break in libstdc++ 4.9.2, then this seems unproblematic. If anything, our results will be marginally better than GCC 4.9.2's, because we'll do the right thing when mixing libstdc++ 4.9.2 and an earlier version. It looks like there is nothing to fix here.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
We can't be compatible with all versions of GCC on what attributes<br>
they support and the compile-time flags that they use. This just<br>
doesn't scale.<br>
<br>
In a way, if you don't want ABI tags, use Clang 3.8 or before. If you<br>
do, use Clang 3.9 or after.<br>
<br>
I'm not sure there's a better way of doing this and creating a<br>
compile-time flag just to imitate GCC seems like the wrong way to go,<br>
IMO.<br>
<br>
cheers,<br>
--renato<br>
<div class="HOEnZb"><div class="h5">______________________________<wbr>_________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/cfe-dev</a><br>
</div></div></blockquote></div><br></div></div>