This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: fmaxf, fminf, fmax, fmin, fmaxl, fminl gives corrupted values.
- From: Nathan Sidwell <nathan at codesourcery dot com>
- To: Murakami Hiroshi <dm at tmca dot ac dot jp>
- Cc: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 07 Jan 2004 16:06:32 +0000
- Subject: Re: fmaxf, fminf, fmax, fmin, fmaxl, fminl gives corrupted values.
- Organization: Codesourcery LLC
- References: <20040107143356.40034.qmail@amdk6.lan3.tmca.ac.jp>
Murakami Hiroshi wrote:
Dear, GCC bugs,
I believe I found the bug in gcc or libm.a on Linux.
(Althought this may not be the GNU's bug.)
It seems the bug reproduces on most Linux when the cc (gcc) is used.
what happens when you use the -Wall option? I get
f.c:10: warning: implicit declaration of function `fmaxf'
etc, which indicates the problem
nathan
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC
nathan@codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk