c-common.c (cb_register_builtins): Always define __GXX_ABI_VERSION.
authorFranz Sirl <Franz.Sirl-kernel@lauterbach.com>
Fri, 2 Aug 2002 00:15:45 +0000 (00:15 +0000)
committerFranz Sirl <sirl@gcc.gnu.org>
Fri, 2 Aug 2002 00:15:45 +0000 (00:15 +0000)
2002-08-01  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* c-common.c (cb_register_builtins): Always define __GXX_ABI_VERSION.

From-SVN: r55959

gcc/ChangeLog
gcc/c-common.c

index 70a5c6b86610392a44ab938a4820fbd4f0bb73eb..7bc3be9eb5e8efb61437d30565357c7cbf1dc108 100644 (file)
@@ -1,3 +1,7 @@
+2002-08-01  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
+
+       * c-common.c (cb_register_builtins): Always define __GXX_ABI_VERSION.
+
 2002-08-01  Richard Henderson  <rth@redhat.com>
 
        * toplev.c (parse_options_and_default_flags): Don't set 
index 4d66589bb4ca435e3063ec66d3c4e635aa275d3c..415127317f017ea5eea81e4aae9bba1fde3866bc 100644 (file)
@@ -4732,9 +4732,12 @@ cb_register_builtins (pfile)
        cpp_define (pfile, "__EXCEPTIONS");
       if (warn_deprecated)
        cpp_define (pfile, "__DEPRECATED");
-      cpp_define (pfile, "__GXX_ABI_VERSION=102");
     }
 
+  /* represents the C++ ABI version, always defined so it can be used while
+     preprocessing C and assembler.  */
+  cpp_define (pfile, "__GXX_ABI_VERSION=102");
+
   /* libgcc needs to know this.  */
   if (USING_SJLJ_EXCEPTIONS)
     cpp_define (pfile, "__USING_SJLJ_EXCEPTIONS__");