c-cppbuiltin.c (c_cpp_builtins): Remove definition of __STDC_WANT_DEC_FP__.
authorJanis Johnson <janis187@us.ibm.com>
Thu, 19 Apr 2007 16:57:23 +0000 (16:57 +0000)
committerJanis Johnson <janis@gcc.gnu.org>
Thu, 19 Apr 2007 16:57:23 +0000 (16:57 +0000)
* c-cppbuiltin.c (c_cpp_builtins): Remove definition of
__STDC_WANT_DEC_FP__.

From-SVN: r123973

gcc/ChangeLog
gcc/c-cppbuiltin.c

index ddd6f17422e4352d87d51472d9e8e6a6bfe57fe8..af9e9fd48f4c5de0512d74b3bccbf763bc56a770 100644 (file)
@@ -1,3 +1,8 @@
+2007-04-19  Janis Johnson  <janis187@us.ibm.com>
+
+       * c-cppbuiltin.c (c_cpp_builtins): Remove definition of
+       __STDC_WANT_DEC_FP__.
+
 2007-04-19  Joseph Myers  <joseph@codesourcery.com>
 
        * configure.ac: Allow both powerpc*-*-linux* and powerpc*-*-gnu*
index d27b96bc6b328dd8b2450fd0251fa383ef40e5d8..c36b038bc77e298f7b1ac1cb561cf21ca5cfa8b8 100644 (file)
@@ -606,16 +606,11 @@ c_cpp_builtins (cpp_reader *pfile)
   if (TARGET_DECLSPEC)
     builtin_define ("__declspec(x)=__attribute__((x))");
 
-  /* Tell the user whether decimal floating point is supported,
-     and if it is supported, whether the alternate format (BID)
-     is used over the standard (DPD) format.  */
-
-  if (ENABLE_DECIMAL_FLOAT)
-    {
-      cpp_define (pfile, "__STDC_WANT_DEC_FP__");
-      if (ENABLE_DECIMAL_BID_FORMAT)
-       cpp_define (pfile, "__DECIMAL_BID_FORMAT__");
-    }
+  /* If decimal floating point is supported, tell the user if the
+     alternate format (BID) is used instead of the standard (DPD)
+     format.  */
+  if (ENABLE_DECIMAL_FLOAT && ENABLE_DECIMAL_BID_FORMAT)
+    cpp_define (pfile, "__DECIMAL_BID_FORMAT__");
 }
 
 /* Pass an object-like macro.  If it doesn't lie in the user's