]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
2007-01-05 Benjamin Kosnik <bkoz@redhat.com>
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 5 Jan 2007 21:24:16 +0000 (21:24 +0000)
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 5 Jan 2007 21:24:16 +0000 (21:24 +0000)
* c-cppbuiltin.c (c_cpp_builtins): __GXX_EXPERIMENTAL_CPP0X__ to
__GXX_EXPERIMENTAL_CXX0X__.
* doc/cpp.texi: Same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120502 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/c-cppbuiltin.c
gcc/doc/cpp.texi

index 45de0c4bca482b278bc65f3fe32164c5ea12457e..f80eeb7d3054db5d9c29994a2b45a6bd0f59f246 100644 (file)
@@ -1,3 +1,9 @@
+2007-01-05  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * c-cppbuiltin.c (c_cpp_builtins): __GXX_EXPERIMENTAL_CPP0X__ to
+       __GXX_EXPERIMENTAL_CXX0X__.
+       * doc/cpp.texi: Same.
+
 2007-01-05  Richard Guenther  <rguenther@suse.de>
 
        PR middle-end/27826
index dc0c3438dca96cdb3ee8fc3a0f462619204a014c..4eca2d4674f5385fc4fad5ff64e708a2f7e0f513 100644 (file)
@@ -1,5 +1,5 @@
 /* Define builtin-in macros for the C family front ends.
-   Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
+   Copyright (C) 2002, 2003, 2004, 2005, 2007 Free Software Foundation, Inc.
 
 This file is part of GCC.
 
@@ -410,7 +410,7 @@ c_cpp_builtins (cpp_reader *pfile)
       if (warn_deprecated)
        cpp_define (pfile, "__DEPRECATED");
       if (flag_cpp0x)
-        cpp_define (pfile, "__GXX_EXPERIMENTAL_CPP0X__");
+        cpp_define (pfile, "__GXX_EXPERIMENTAL_CXX0X__");
     }
   /* Note that we define this for C as well, so that we know if
      __attribute__((cleanup)) will interface with EH.  */
index 5a7513667f44aa294577a66d0cb12d625f1c6b5d..1b7b86700861d325723a586593f958426d94e9e2 100644 (file)
@@ -2094,7 +2094,7 @@ This macro is defined, with value 1, if the compiler uses the old
 mechanism based on @code{setjmp} and @code{longjmp} for exception
 handling.
 
-@item __GXX_EXPERIMENTAL_CPP0X__
+@item __GXX_EXPERIMENTAL_CXX0X__
 This macro is defined when compiling a C++ source file with the option
 @option{-std=c++0x} or @option{-std=gnu++0x}. It indicates that some
 features likely to be included in C++0x are available. Note that these