* c-common.h (enum cxx_dialect): Add cxx1y.
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 21 Mar 2012 05:09:41 +0000 (05:09 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 21 Mar 2012 05:09:41 +0000 (05:09 +0000)
commit543efdbea6e840bc1374b5ad36a3ebb2644b20ca
tree9106f53126560094c079914853af9d31398a04a7
parent1610993e39e7c0db9b77a87f512229d4385168ba
* c-common.h (enum cxx_dialect): Add cxx1y.
* c-common.c (c_common_nodes_and_builtins): Use >= for cxx_dialect
test.
* c-cppbuiltin.c (c_cpp_builtins): Likewise.
* c-opts.c (c_common_post_options): Likewise.
(set_std_cxx1y): New.
(c_common_handle_option): Call it.
* c.opt (-std=c++1y, -std=gnu++1y): New flags.
cp/
* lex.c (init_reswords): Use >= for cxx_dialect test.
* parser.c (cp_parser_exception_specification_opt): Likewise.
testsuite/
* lib/target-supports.exp: Add { target c++1y }.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185596 138bc75d-0d04-0410-961f-82ee72b054a4
12 files changed:
gcc/c-family/ChangeLog
gcc/c-family/c-common.c
gcc/c-family/c-common.h
gcc/c-family/c-cppbuiltin.c
gcc/c-family/c-opts.c
gcc/c-family/c.opt
gcc/cp/ChangeLog
gcc/cp/lex.c
gcc/cp/parser.c
gcc/doc/invoke.texi
gcc/testsuite/ChangeLog
gcc/testsuite/lib/target-supports.exp