<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 25, 2013 at 1:36 AM, Kostya Serebryany <span dir="ltr"><<a href="mailto:kcc@google.com" target="_blank" class="cremed">kcc@google.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":31v" style="overflow:hidden">  I don't like that one attribute implies another attribute silently, but I see no other good way to fix the issue.<br>

  At the very least we need to update the docs in this change.<br>
  Also let's wait for a day if anyone has a better idea.</div></blockquote></div><br>I really share your feelings here.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Fundamentally, I don't think 'noinline' is what you want here. It has all kinds of implications you don't really intend.</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">For example, if you have one blacklisted function calling another, you can inline freely.</div><div class="gmail_extra"><br></div><div class="gmail_extra">How about teaching the inliner specifically to not inline functions with the attributes you care about into functions which don't have them (or vice versa)?</div>
</div>