Commit e93e18e9 by Paolo Carlini Committed by Paolo Carlini

cpp.texi: Remove __GXX_EXPERIMENTAL_CXX1Y__.

2013-04-24  Paolo Carlini  <paolo.carlini@oracle.com>

	* doc/cpp.texi: Remove __GXX_EXPERIMENTAL_CXX1Y__.

/c-family
2013-04-24  Paolo Carlini  <paolo.carlini@oracle.com>

	* c-cppbuiltin.c (c_cpp_builtins): Do not define
	__GXX_EXPERIMENTAL_CXX1Y__.

/testsuite
2013-04-24  Paolo Carlini  <paolo.carlini@oracle.com>

	* g++.dg/cpp1y/cxx1y_macro.C: Remove.

From-SVN: r198258
parent afbce7b7
2013-04-24 Paolo Carlini <paolo.carlini@oracle.com>
* doc/cpp.texi: Remove __GXX_EXPERIMENTAL_CXX1Y__.
2013-04-24 Vladimir Makarov <vmakarov@redhat.com> 2013-04-24 Vladimir Makarov <vmakarov@redhat.com>
* rtl.h (struct rtx_def): Add comment for field jump. * rtl.h (struct rtx_def): Add comment for field jump.
......
2013-04-24 Paolo Carlini <paolo.carlini@oracle.com> 2013-04-24 Paolo Carlini <paolo.carlini@oracle.com>
* c-cppbuiltin.c (c_cpp_builtins): Do not define
__GXX_EXPERIMENTAL_CXX1Y__.
2013-04-24 Paolo Carlini <paolo.carlini@oracle.com>
Manuel Lopez-Ibanez <manu@gcc.gnu.org> Manuel Lopez-Ibanez <manu@gcc.gnu.org>
* c.opt ([Wpointer-arith]): Enabled by -Wpedantic, as documented. * c.opt ([Wpointer-arith]): Enabled by -Wpedantic, as documented.
......
...@@ -713,10 +713,8 @@ c_cpp_builtins (cpp_reader *pfile) ...@@ -713,10 +713,8 @@ c_cpp_builtins (cpp_reader *pfile)
cpp_define (pfile, "__DEPRECATED"); cpp_define (pfile, "__DEPRECATED");
if (flag_rtti) if (flag_rtti)
cpp_define (pfile, "__GXX_RTTI"); cpp_define (pfile, "__GXX_RTTI");
if (cxx_dialect == cxx0x) if (cxx_dialect >= cxx0x)
cpp_define (pfile, "__GXX_EXPERIMENTAL_CXX0X__"); cpp_define (pfile, "__GXX_EXPERIMENTAL_CXX0X__");
if (cxx_dialect >= cxx1y)
cpp_define (pfile, "__GXX_EXPERIMENTAL_CXX1Y__");
} }
/* Note that we define this for C as well, so that we know if /* Note that we define this for C as well, so that we know if
__attribute__((cleanup)) will interface with EH. */ __attribute__((cleanup)) will interface with EH. */
......
...@@ -2319,13 +2319,6 @@ features likely to be included in C++0x are available. Note that these ...@@ -2319,13 +2319,6 @@ features likely to be included in C++0x are available. Note that these
features are experimental, and may change or be removed in future features are experimental, and may change or be removed in future
versions of GCC. versions of GCC.
@item __GXX_EXPERIMENTAL_CXX1Y__
This macro is defined when compiling a C++ source file with the option
@option{-std=c++1y} or @option{-std=gnu++1y}. It indicates that some
features likely to be included in C++1y are available. Note that these
features are experimental, and may change or be removed in future
versions of GCC.
@item __GXX_WEAK__ @item __GXX_WEAK__
This macro is defined when compiling a C++ source file. It has the This macro is defined when compiling a C++ source file. It has the
value 1 if the compiler will use weak symbols, COMDAT sections, or value 1 if the compiler will use weak symbols, COMDAT sections, or
......
2013-04-24 Paolo Carlini <paolo.carlini@oracle.com> 2013-04-24 Paolo Carlini <paolo.carlini@oracle.com>
* g++.dg/cpp1y/cxx1y_macro.C: Remove.
2013-04-24 Paolo Carlini <paolo.carlini@oracle.com>
* c-c++-common/Wpointer-arith-1.c: New. * c-c++-common/Wpointer-arith-1.c: New.
2013-04-24 Paolo Carlini <paolo.carlini@oracle.com> 2013-04-24 Paolo Carlini <paolo.carlini@oracle.com>
......
// { dg-options "-std=c++1y" }
#ifndef __GXX_EXPERIMENTAL_CXX1Y__
#error
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment