A patch for sysdeps/i386/fpu/libm-test-ulps
Ulrich Drepper
drepper@redhat.com
Thu Nov 30 14:41:00 GMT 2000
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 `------------------------
More information about the Libc-alpha
mailing list