This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: A patch for sysdeps/i386/fpu/libm-test-ulps


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   `------------------------

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]