From 589dd99500036f68b79498a347248e19d82651ce Mon Sep 17 00:00:00 2001 From: Janis Johnson Date: Thu, 19 Apr 2007 16:57:23 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/c-cppbuiltin.c | 15 +++++---------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ddd6f17422e..af9e9fd48f4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2007-04-19 Janis Johnson + + * c-cppbuiltin.c (c_cpp_builtins): Remove definition of + __STDC_WANT_DEC_FP__. + 2007-04-19 Joseph Myers * configure.ac: Allow both powerpc*-*-linux* and powerpc*-*-gnu* diff --git a/gcc/c-cppbuiltin.c b/gcc/c-cppbuiltin.c index d27b96bc6b3..c36b038bc77 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 -- 2.30.2