This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH, libgcc: adjust definition of INFINITY
- From: Ben Elliston <bje at au1 dot ibm dot com>
- To: Ian Lance Taylor <iant at google dot com>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>, ubizjak at gmail dot com
- Date: Thu, 11 Dec 2008 11:00:25 +1100
- Subject: Re: PATCH, libgcc: adjust definition of INFINITY
- References: <1228248847.3110.3.camel@helios> <m3skp2zint.fsf@google.com>
> > * libgcc2.c (INFINITY): Use __builtin_huge_val, not __builtin_inf,
> > as the latter produces a warning when the target does not support
> > infinity.
>
> This is OK if it has been bootstrapped and tested (you didn't say).
Actually, the bootstrap went onto fail on x86_64 because there is no
__builtin_huge_valq for the __float128 type, only __builtin_infq. Uros,
is there a reason you didn't implement this?
Ben