* c-lex.c (c_common_has_attribute): Handle attribute fallthrough.
commite997bd3a21f117aaa7e4356dd8b0c2b4b950fa12
authormpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 26 Sep 2016 15:53:28 +0000 (26 15:53 +0000)
committermpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 26 Sep 2016 15:53:28 +0000 (26 15:53 +0000)
tree0ae29fdb0d04e4498b59ab6240031213610fb6e8
parent7408cd7d803532c11898b4e110528130714acffc
* c-lex.c (c_common_has_attribute): Handle attribute fallthrough.

* system.h: Use __has_attribute to check whether the fallthrough
attribute is supported.

* g++.dg/cpp1z/feat-cxx1z.C: Test attribute fallthrough.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@240499 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-family/ChangeLog
gcc/c-family/c-lex.c
gcc/system.h
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp1z/feat-cxx1z.C