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
On Thu, Nov 30, 2000 at 02:40:51PM -0800, Ulrich Drepper wrote:
> 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.
>
Does -Os affect the math library only?
--
H.J. Lu (hjl@valinux.com)