https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79961
--- Comment #15 from Pedro Alves <palves at redhat dot com> --- Darn typos. Should be obvious that I meant: Make it possible to write: void foo (int, const char *arg) __attribute__ ((__nonnull__ (arg))); instead of this when foo is a class method: void foo (int, const char *arg) __attribute__ ((__nonnull__ (3))); and this when it's a free function: void foo (int, const char *arg) __attribute__ ((__nonnull__ (2)));