This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Lots of soft-fp warnings
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Rask Ingemann Lambertsen <rask at sygehus dot dk>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 2 Jul 2007 10:35:55 +0000 (UTC)
- Subject: Re: Lots of soft-fp warnings
- References: <20070702094847.GW5690@sygehus.dk>
On Mon, 2 Jul 2007, Rask Ingemann Lambertsen wrote:
> Soft-fp spews lots of warnings of this sort:
>
> /n/12/rask/src/all/libgcc/../gcc/config/soft-fp/floatuntitf.c: In function '__floatuntitf':
> /n/12/rask/src/all/libgcc/../gcc/config/soft-fp/floatuntitf.c:40: warning: comparison of unsigned expression < 0 is always false
This is not a useful warning for this sort of code with heavy use of
macros that may take signed or unsigned types.
> In file included from ../.././gcc/extendsftf2.c:2:
> /n/12/rask/src/all/libgcc/../gcc/config/soft-fp/extendsftf2.c:37: warning: no previous prototype for '__extendsftf2'
Get declarations added to glibc and then import the updated version if you
wish.
--
Joseph S. Myers
joseph@codesourcery.com