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]
Other format: [Raw text]

Re: Patch g++.dg/cdce3.C test for IA64 HP-UX


Hi Steve,

On Tue, 16 Sep 2008, sje@cup.hp.com wrote:
> This patch fixes the g++.dg/cdce3.C test on IA64 HP-UX.  Like Darwin,
> IA64 HP-UX does not have a pow10 function. The pow10 function is a GNU
> extension and not part of C99.  This patch skips the pow10 function on
> ia64-*-hpux* in the same way as it currently skips it on Darwin.

the same holds for FreeBSD.  Would you add *-*-freebsd* as another 
exception if I ask nicely? ;-)

That said, shouldn't this actually be the other way around?  Shouldn't
we have some configury test and only consider this test *if* pow10 is
present on the system under test rather than adding exception after
exception?

Let me add Xinliang as the original author of this test.  Xinliang, in
addition to the issue Steve is addressing I am also seeing the errors
below on i386-unknown-freebsd6.3.  How can these be addressed?

Gerald

/sw/test/GCC/trunk/gcc/testsuite/g++.dg/cdce3.C:72: error: 'exp2l' was not declared in this scope
/sw/test/GCC/trunk/gcc/testsuite/g++.dg/cdce3.C: In function 'void mexpl(int)':
/sw/test/GCC/trunk/gcc/testsuite/g++.dg/cdce3.C:73: error: 'expl' was not declared in this scope^
/sw/test/GCC/trunk/gcc/testsuite/g++.dg/cdce3.C: In function 'void mexpm1l(int):
/sw/test/GCC/trunk/gcc/testsuite/g++.dg/cdce3.C:74: error: 'expm1l' was not declared in this scope
/sw/test/GCC/trunk/gcc/testsuite/g++.dg/cdce3.C: In function 'void mcoshl(int)':
/sw/test/GCC/trunk/gcc/testsuite/g++.dg/cdce3.C:75: error: 'coshl' was not declared in this scope
/sw/test/GCC/trunk/gcc/testsuite/g++.dg/cdce3.C: In function 'void msinhl(int)':
/sw/test/GCC/trunk/gcc/testsuite/g++.dg/cdce3.C:76: error: 'sinhl' was not declared in this scope
/sw/test/GCC/trunk/gcc/testsuite/g++.dg/cdce3.C: In function 'void macosl(int)':
/sw/test/GCC/trunk/gcc/testsuite/g++.dg/cdce3.C:77: error: 'acosl' was not declared in this scope
/sw/test/GCC/trunk/gcc/testsuite/g++.dg/cdce3.C: In function 'void masinl(int)':
/sw/test/GCC/trunk/gcc/testsuite/g++.dg/cdce3.C:78: error: 'asinl' was not declared in this scope
/sw/test/GCC/trunk/gcc/testsuite/g++.dg/cdce3.C: In function 'void macoshl(int)':
/sw/test/GCC/trunk/gcc/testsuite/g++.dg/cdce3.C:79: error: 'acoshl' was not declared in this scope
/sw/test/GCC/trunk/gcc/testsuite/g++.dg/cdce3.C: In function 'void matanhl(int)':
/sw/test/GCC/trunk/gcc/testsuite/g++.dg/cdce3.C:80: error: 'atanhl' was not declared in this scope^M
/sw/test/GCC/trunk/gcc/testsuite/g++.dg/cdce3.C: In function 'void mlogl(int)':
/sw/test/GCC/trunk/gcc/testsuite/g++.dg/cdce3.C:81: error: 'logl' was not declared in this scope^M


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