http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51934

--- Comment #8 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2012-01-21 
23:58:19 UTC ---
> You mean errors out?  format attribute must have 3 arguments.
> Try leaf, or nothrow etc. attributes instead, format is a bad idea for a 
> method
> that isn't printf/scanf like.

Well, format was the first attribute I have found with your requirements:
common to all platforms, hangs before the commit and passes after it (aligned,
cold, flatten, malloc, noclone, noinline,  nothrow, pure don't work; ifunc ,
no_instrument_function, noreturn, no_split_stack give warnings or errors).
nonnull meets also the above criteria, but is also supposed to use arguments.
If someone has more patience than me, be my guest!

Now if its use without arguments should yields an error, it is another bug.

Reply via email to