This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Making double precision constants work with -fsingle-precision-constant [was: Re: current subversion (rev 115032) compiling issues]
- From: Carlos O'Donell <carlos at codesourcery dot com>
- To: Marco Trudel <mtrudel at gmx dot ch>
- Cc: gcc-help at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Wed, 28 Jun 2006 12:25:58 -0400
- Subject: Re: [PATCH] Making double precision constants work with -fsingle-precision-constant [was: Re: current subversion (rev 115032) compiling issues]
- References: <44A0F836.7060106@gmx.ch> <44A24588.6000907@gmx.ch>
On Wed, Jun 28, 2006 at 11:02:00AM +0200, Marco Trudel wrote:
> Your patch http://gcc.gnu.org/ml/gcc-patches/2005-12/msg00790.html seems
> to break cross-compiling for windows, see attached forwarded message.
> >Ok, next Problem:
> >$GCC_BUILD_DIR/i686-pc-mingw32/libstdc++-v3/include/limits:1011: error:
> >'__FLT_HAS_DENORM__' was not declared in this scope
> >$GCC_BUILD_DIR/i686-pc-mingw32/libstdc++-v3/include/limits:1068: error:
> >'__DBL_HAS_DENORM__' was not declared in this scope
> >$GCC_BUILD_DIR/i686-pc-mingw32/libstdc++-v3/include/limits:1125: error:
> >'__LDBL_HAS_DENORM__' was not declared in this scope
> >
> >Here I'm stuck because I'm unable to find the defining header or source
> >file for these constants... Any ideas?
The values of these definitions are computed by the compiler in gcc/c-cppbuiltins.c
(c_cpp_builtins).
Can you provide preprocessed source without macro expansion? I'm curious
why a Windows hosted toolchain doesn't call c_cpp_builtins.
Cheers,
Carlos.
--
Carlos O'Donell
CodeSourcery
carlos@codesourcery.com
(650) 331-3385 x716