Re: C++ PATCH for __has_cpp_attribute and fallthrough

2016-09-26 Thread Jason Merrill
OK. On Mon, Sep 26, 2016 at 8:23 AM, Marek Polacek wrote: > This patch updates __has_cpp_attribute for fallthrough, which is now > supported. > > The system.h hunk should aid people building trunk GCC with older GCC 7 not > supporting this attribute yet. > >

C++ PATCH for __has_cpp_attribute and fallthrough

2016-09-26 Thread Marek Polacek
This patch updates __has_cpp_attribute for fallthrough, which is now supported. The system.h hunk should aid people building trunk GCC with older GCC 7 not supporting this attribute yet. Bootstrapped/regtested on x86_64-linux, ok for trunk? 2016-09-26 Marek Polacek