On Thu, 20 Mar 2014, Marek Polacek wrote:

> On Thu, Mar 20, 2014 at 11:57:57AM +0000, Joseph S. Myers wrote:
> > This version is OK (for after 4.9 branches).
> 
> Thanks.
>  
> > What happens if there are two declarations of the function, one with each 
> > attribute?  The testcase doesn't cover that.
> 
> Nothing :(.  I had to add some code into diagnose_mismatched_decls to
> detect such conflicting decls (plus for cold/hot; there may be others).
> 
> Tested x86_64-linux.  Is this version ok?

Yes.

-- 
Joseph S. Myers
jos...@codesourcery.com

Reply via email to