This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Tru64 UNIX V5.1] gcc testsuite fixes
- To: Richard Henderson <rth at redhat dot com>
- Subject: Re: [Tru64 UNIX V5.1] gcc testsuite fixes
- From: Rainer Orth <ro at TechFak dot Uni-Bielefeld dot DE>
- Date: Thu, 1 Mar 2001 20:57:15 +0100 (MET)
- Cc: gcc-patches at gcc dot gnu dot org
- References: <15005.24735.909857.224750@xayide.TechFak.Uni-Bielefeld.DE><20010228142722.C25384@redhat.com>
> On Wed, Feb 28, 2001 at 09:33:35PM +0100, Rainer Orth wrote:
> > * fp-cmp-2.x0 fails the fnan == fnan test in line 23
> > * fp-cmp-3.x0 fails the dnan != x test in line 27
>
> In $prefix/share/dejagnu/baseboards/unix.exp put
>
> if { [istarget "alpha*-*"] } {
> set_board_info ieee_multilib_flags "-mieee";
> }
I've added -mieee manually yesterday to try exactly that, but seem to have
run the wrong binary ;-( fp-cmp-2.x0 passes with -mieee, but fp-cmp-3.x0
still fails.
> > -double nan = 1.0/0.0 - 1.0/0.0;
> > +double dnan = 1.0/0.0 - 1.0/0.0;
>
> I presume there's a conflict with a function of the same name?
No, I've checked that: libm.so has nan, nanf and nanl, as per C99.
Rainer
-----------------------------------------------------------------------------
Rainer Orth, Faculty of Technology, Bielefeld University
Email: ro@TechFak.Uni-Bielefeld.DE