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: [warnings] attribs.c


> > > My view is that all diagnostics for attributes should have their control 
> > > changed together (including all target attribute handlers and all C and 
> > > C++ front end attributes).
> > 
> > Just searching for warnings with the string "attribute" in them yields
> > quite a list of potentials:
> 
> Yes, unfortunately not all target maintainers have carefully added 
> testcases and documentation for their attributes - and testcases are 
> really a matter for the target maintainers as they know what the semantics 
> should be and not merely what the attribute handler does which I attempted 
> to make bug-compatible with the old attribute handlers when overhauling 
> attribute handling some years ago.

I meant, potential candidates for warning (OPT_Wattribute, ...), not
potential missing testcases.  I was thinking of just blindly replacing
the 0 with OPT_Wattribute for most of those.


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