c99-math execute failures on sparc-sun-solaris2.11
Andreas Tobler
andreast-list@fgznet.ch
Mon Feb 4 20:07:00 GMT 2008
Hi Kaveh,
Kaveh R. GHAZI wrote:
> I've never had access to solaris 11, and my earlier access to solaris 10
> (where these tests worked) is gone, would you please tell me why these
> tests fail?
>
> Which of the if clauses in c99-math.h is aborting and which of the
> solaris_math_* fixincludes are successfully applied to iso/math_c99.h?
Hm, there is no iso/math_c99.h and I guess the reason is here:
From the /usr/include/iso/math_c99.h
#pragma ident "@(#)math_c99.h 1.12 07/01/21 SMI"
From the fixincl.x:
tSCC zSolaris_Math_1Select0[] =
"@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
From my quick view I'd say we do not match the 1.12, we're only able to
handle 1.0-9 right?
I'll see if I'm wrong.
And for the failing part for example:
c99-math-double-1.c:18
nan = nan(0x8000000000000)
inf = 0
huge = 0
norm1 = 2.2250738585072014e-308
norm2 = 1
norm3 = 1.7976931348623157e+308
sub = 1.1125369292536007e-308
zero = 0
etc.
But I think we need to fix the fixincl, don't we?
Andreas
More information about the Gcc
mailing list