]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/c-family/c-cppbuiltin.c
c-cppbuiltin.c: Move __cpp_attribute_deprecated to the C++11 section.
authorEdward Smith-Rowland <3dw4rd@verizon.net>
Mon, 6 Oct 2014 17:11:23 +0000 (17:11 +0000)
committerEdward Smith-Rowland <emsr@gcc.gnu.org>
Mon, 6 Oct 2014 17:11:23 +0000 (17:11 +0000)
commit2a8ef767005baf7c026e42a4521673ad1a9320d1
treeaa26ada91b44a51b514cae937615798a5857231a
parentfbf833b776811b8ac22c79ee52ff46d578da755b
c-cppbuiltin.c: Move __cpp_attribute_deprecated to the C++11 section.

gcc/c-family:

2014-10-06  Edward Smith-Rowland  <3dw4rd@verizon.net>

* c-family/c-cppbuiltin.c: Move __cpp_attribute_deprecated to the
C++11 section.

gcc/cp:

2014-10-06  Edward Smith-Rowland  <3dw4rd@verizon.net>

* cp/parser.c: Allow [[deprecated]] for C++11.  Issue a pedwarn.

gcc/testsuite:

2014-10-06  Edward Smith-Rowland  <3dw4rd@verizon.net>

* g++.dg/cpp1y/attr-deprecated-neg.C: Attribute no longer ignored.
* g++.dg/cpp1y/feat-cxx11-neg.C: Comment out __cpp_attribute_deprecated test.
* g++.dg/cpp1y/feat-cxx11.C: Add __cpp_attribute_deprecated test.

From-SVN: r215957
gcc/c-family/ChangeLog
gcc/c-family/c-cppbuiltin.c
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp1y/attr-deprecated-neg.C
gcc/testsuite/g++.dg/cpp1y/feat-cxx11-neg.C
gcc/testsuite/g++.dg/cpp1y/feat-cxx11.C