diff options
author | Janis Johnson <janis187@us.ibm.com> | 2007-04-19 16:57:23 +0000 |
---|---|---|
committer | Janis Johnson <janis@gcc.gnu.org> | 2007-04-19 16:57:23 +0000 |
commit | 589dd99500036f68b79498a347248e19d82651ce (patch) | |
tree | 5641adc01f424ab99fcd7281fa0633c4db960fc9 | |
parent | f7cc5390ec6c351d7ffdfea4a450bf94c7bcec3b (diff) | |
download | gcc-589dd99500036f68b79498a347248e19d82651ce.zip gcc-589dd99500036f68b79498a347248e19d82651ce.tar.gz gcc-589dd99500036f68b79498a347248e19d82651ce.tar.bz2 |
c-cppbuiltin.c (c_cpp_builtins): Remove definition of __STDC_WANT_DEC_FP__.
* c-cppbuiltin.c (c_cpp_builtins): Remove definition of
__STDC_WANT_DEC_FP__.
From-SVN: r123973
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/c-cppbuiltin.c | 15 |
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 |