This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Add pointer_no_capture function attribute


> ! 	  if (fundecl && DECL_BUILT_IN (fundecl) 
> ! 	      && DECL_BUILT_IN_CLASS (fundecl) == BUILT_IN_NORMAL)
> ! 	    warning (0, "too many arguments to function %qE", function);

Do we have an OPT_* for this?

> +   else if (TYPE_P (*node) && TREE_CODE (*node) != FUNCTION_TYPE)
> +     {
> +       warning (0, "%qE attribute ignored", name);

We do have OPT_Wattributes for this one.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]