new libstdc++-v3 decimal failures

Jack Howarth howarth@bromo.med.uc.edu
Tue Oct 6 22:37:00 GMT 2009


On Tue, Oct 06, 2009 at 03:30:34PM -0700, Janis Johnson wrote:
> 
> Oh, maybe the libstdc++ tests don't support dg-require-effective-target.
> 
> Janis

Janis,
   Yes, doesn't it need something like...

# Skip these tests for targets that don't support this extension.
if { ![check_effective_target_dfp] } {
    return;
}

which is in testsuite/gcc.dg/dfp/dfp.exp. I find...

grep -R check_effective_target_dfp testsuite | grep ".exp" | grep -v svn | grep -v Change
testsuite/g++.dg/dfp/dfp.exp:if { ![check_effective_target_dfp] } {
testsuite/g++.dg/dfp/dfp.exp:if { ![check_effective_target_dfprt] } {
testsuite/gcc.dg/dfp/dfp.exp:if { ![check_effective_target_dfp] } {
testsuite/gcc.dg/dfp/dfp.exp:if { ![check_effective_target_dfprt] } {
testsuite/gcc.misc-tests/dectest.exp:if { ![check_effective_target_dfp] } {
testsuite/lib/c-compat.exp:    set compat_have_dfp [check_effective_target_dfprt_nocache]
testsuite/lib/c-compat.exp:	set compat_have_dfp [check_effective_target_dfprt_nocache]
testsuite/lib/target-supports.exp:proc check_effective_target_dfp_nocache { } {
testsuite/lib/target-supports.exp:    verbose "check_effective_target_dfp_nocache: compiling source" 2
testsuite/lib/target-supports.exp:    verbose "check_effective_target_dfp_nocache: returning $ret" 2
testsuite/lib/target-supports.exp:proc check_effective_target_dfprt_nocache { } {
testsuite/lib/target-supports.exp:proc check_effective_target_dfp { } {
testsuite/lib/target-supports.exp:	check_effective_target_dfp_nocache
testsuite/lib/target-supports.exp:proc check_effective_target_dfprt { } {
testsuite/lib/target-supports.exp:	check_effective_target_dfprt_nocache

but for libstdc++-v3...

grep -R check_effective_target_dfp testsuite | grep ".exp" | grep -v svn | grep -v Change

nothing appears.
           Jack



More information about the Gcc mailing list