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: [C/C++ PATCH] Missing warning for contradictory attributes (PR c++/71024)


On 05/11/2016 03:59 PM, Marek Polacek wrote:
The C++ FE was missing diagnostics e.g. when an "always_inline" on DECL was
followed by DECL with the "noinline" attribute.  The C FE already has code
dealing with this, so I factored it out to a common function.

Bootstrapped/regtested on x86_64-linux, ok for trunk?

Ok, but could you first look whether there are existing testcases that could be moved to c-c++-common from gcc.dg instead of adding a new one?


Bernd


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