This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


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

Re: [Tru64 UNIX V5.1] gcc testsuite fixes



> 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


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