This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: A patch for sysdeps/i386/fpu/libm-test-ulps
- To: "H . J . Lu" <hjl at valinux dot com>
- Subject: Re: A patch for sysdeps/i386/fpu/libm-test-ulps
- From: Ulrich Drepper <drepper at redhat dot com>
- Date: 30 Nov 2000 14:40:51 -0800
- Cc: GNU C Library <libc-alpha at sourceware dot cygnus dot com>
- References: <20001130141611.A16706@valinux.com><m3aeahjdn6.fsf@otr.mynet.cygnus.com>
- Reply-To: drepper at cygnus dot com (Ulrich Drepper)
Ulrich Drepper <drepper@redhat.com> writes:
> "H . J . Lu" <hjl@valinux.com> writes:
>
> > "gcc -Os" under RedHat 7.0 generates different math results. Here is
> > the update for sysdeps/i386/fpu/libm-test-ulps.
>
> -Os is not supported. It generates wrong code as repeatedly reported.
And additionally, the libm-test-ulps are not there to help every
compilation pass. They are there to ensure quality. If a compiler
generates code which makes a test fail (while compiled differently it
works) this means that either the compiler or the code need work. On
x86 the math library simply depends on some functions being inlined
and this is what -Os prevents.
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------