On Fri, 22 Jul 2016, Marek Polacek wrote:

> * I noticed that we don't diagnose e.g. '__attribute__((noreturn));' in
>   the C FE in certain contexts.  Shouldn't be a showstopper though.

Bug number?  shadow_tag_warned is meant to diagnose empty declarations 
like that.  (That attributes are ignored when they form the entire 
contents of the parentheses in a function declarator is a known and 
documented peculiarity.)

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

Reply via email to