aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/c-cppbuiltin.c15
2 files changed, 10 insertions, 10 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ddd6f17..af9e9fd 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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*
diff --git a/gcc/c-cppbuiltin.c b/gcc/c-cppbuiltin.c
index d27b96b..c36b038 100644
--- a/gcc/c-cppbuiltin.c
+++ b/gcc/c-cppbuiltin.c
@@ -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