Re: c99-math execute failures on sparc-sun-solaris2.11

2008-02-07 Thread Andreas Tobler
Hi Kaveh, Andreas Tobler wrote: On mainline only (not 4.2 or prior) does this work instead? Yep, trunk. [ultra10:gcc/testsuite/gcc.dg] andreast% diff -u /usr/include/iso/math_c99.h.orig /usr/include/iso/math_c99.h --- /usr/include/iso/math_c99.h.origMon Feb 4 21:55:29 2008 +++ /usr/in

Re: c99-math execute failures on sparc-sun-solaris2.11

2008-02-05 Thread Andreas Tobler
Kaveh R. Ghazi wrote: Great, we're making progress. On mainline only (not 4.2 or prior) does this work instead? Yep, trunk. [ultra10:gcc/testsuite/gcc.dg] andreast% diff -u /usr/include/iso/math_c99.h.orig /usr/include/iso/math_c99.h --- /usr/include/iso/math_c99.h.origMon Feb 4 21:55

Re: c99-math execute failures on sparc-sun-solaris2.11

2008-02-05 Thread Kaveh R. Ghazi
From: "Andreas Tobler" <[EMAIL PROTECTED]> [ultra10:gcc/gcc/testsuite] andreast% svn diff gcc.dg/c99-math-double-1.c Index: gcc.dg/c99-math-double-1.c === --- gcc.dg/c99-math-double-1.c (revision 132096) +++ gcc.dg/c99-math-double-

Re: c99-math execute failures on sparc-sun-solaris2.11

2008-02-05 Thread Andreas Tobler
Kaveh R. Ghazi wrote: Okay, thanks both of you for tracking this down. So the solaris definition of isinf is not exception-safe in the presence of nans. Try inserting this code into c99-math-double-1.c after it includes math headers. (This is what fixincludes puts into the header for solar

Re: c99-math execute failures on sparc-sun-solaris2.11

2008-02-05 Thread Kaveh R. Ghazi
From: "Andreas Tobler" <[EMAIL PROTECTED]> Rainer Orth wrote: In c99-math-double-1.c, the first C99_MATH_TESTS invocation abort()s. Single-stepping in gdb (which couldn't display the macro, even if compiled with -g3 ;-) revealed that this clause if (fetestexcept (FE_ALL_EXCEPT) != 0) \ a

Re: c99-math execute failures on sparc-sun-solaris2.11

2008-02-05 Thread Andreas Tobler
Rainer Orth wrote: Hi Kaveh, I notice that the solaris_math_* fix hacks all seems to have a bypass clause on "GNUC". Sometimes the solaris headers try to be gcc-aware. Is there a GNUC appearing in solaris11's /usr/include/iso/math_c99.h header? And that begs the question, why do these fix

Re: c99-math execute failures on sparc-sun-solaris2.11

2008-02-05 Thread Rainer Orth
Hi Kaveh, > I notice that the solaris_math_* fix hacks all seems to have a bypass clause > on "GNUC". Sometimes the solaris headers try to be gcc-aware. Is there a > GNUC appearing in solaris11's /usr/include/iso/math_c99.h header? And that > begs the question, why do these fix hacks have th

Re: c99-math execute failures on sparc-sun-solaris2.11

2008-02-05 Thread Rainer Orth
Kaveh R. Ghazi writes: > Well, since it's not working I guess something got lost in translation? I > don't have access to solaris11, can you please help? the libm sources, including math_c99.h, are available for download from http://dlc.sun.com/osol/devpro/downloads/current/ R

Re: c99-math execute failures on sparc-sun-solaris2.11

2008-02-05 Thread Joseph S. Myers
On Mon, 4 Feb 2008, Kaveh R. Ghazi wrote: > Well, since it's not working I guess something got lost in translation? I > don't have access to solaris11, can you please help? I don't have solaris11 either. -- Joseph S. Myers [EMAIL PROTECTED]

Re: c99-math execute failures on sparc-sun-solaris2.11

2008-02-04 Thread Kaveh R. Ghazi
From: "Joseph S. Myers" <[EMAIL PROTECTED]> on "GNUC". Sometimes the solaris headers try to be gcc-aware. Is there a GNUC appearing in solaris11's /usr/include/iso/math_c99.h header? And that begs the question, why do these fix hacks have this GNUC bypass in the first place? Because I gav

Re: c99-math execute failures on sparc-sun-solaris2.11

2008-02-04 Thread Joseph S. Myers
On Mon, 4 Feb 2008, Kaveh R. Ghazi wrote: > on "GNUC". Sometimes the solaris headers try to be gcc-aware. Is there a > GNUC appearing in solaris11's /usr/include/iso/math_c99.h header? And that > begs the question, why do these fix hacks have this GNUC bypass in the first > place? Because I ga

Re: c99-math execute failures on sparc-sun-solaris2.11

2008-02-04 Thread Kaveh R. Ghazi
From: "Andreas Tobler" <[EMAIL PROTECTED]> Hi Kaveh, [...] 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.1207/01/21 SMI" From the fixincl.x: tSCC zSolaris_Math_1Select0[] = "@\\(#\\)math_c99.h[ \t]

Re: c99-math execute failures on sparc-sun-solaris2.11

2008-02-04 Thread Andreas Tobler
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 successf

c99-math execute failures on sparc-sun-solaris2.11

2008-02-04 Thread Kaveh R. GHAZI
Hi guys, I'm noticing that the c99-math tests are getting execute failures on solaris2.11 for gcc-4.2.3 amd mainline. (I don't know about 4.1.x.). http://gcc.gnu.org/ml/gcc-testresults/2008-02/msg00197.html http://gcc.gnu.org/ml/gcc-testresults/2008-01/msg01460.html I've never had access to sol