public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* new libstdc++-v3 decimal failures
@ 2009-10-06 13:04 Jack Howarth
  2009-10-06 16:24 ` Janis Johnson
  0 siblings, 1 reply; 11+ messages in thread
From: Jack Howarth @ 2009-10-06 13:04 UTC (permalink / raw)
  To: gcc; +Cc: janis187

Janis,
   We are seeing failures of the new decimal testcases on x86_64-apple-darwin10
which you committed into the libstdc++-v3 testsuite...

FAIL: decimal/binary-arith.cc (test for excess errors)
WARNING: decimal/binary-arith.cc compilation failed to produce executable
FAIL: decimal/cast_neg.cc (test for excess errors)
FAIL: decimal/comparison.cc (test for excess errors)
WARNING: decimal/comparison.cc compilation failed to produce executable
FAIL: decimal/compound-assignment-memfunc.cc (test for excess errors)
WARNING: decimal/compound-assignment-memfunc.cc compilation failed to produce executable
FAIL: decimal/compound-assignment.cc (test for excess errors)
WARNING: decimal/compound-assignment.cc compilation failed to produce executable
FAIL: decimal/conversion-from-float.cc (test for excess errors)
WARNING: decimal/conversion-from-float.cc compilation failed to produce executable
FAIL: decimal/conversion-from-integral.cc (test for excess errors)
WARNING: decimal/conversion-from-integral.cc compilation failed to produce executable
FAIL: decimal/conversion-to-generic-float.cc (test for excess errors)
WARNING: decimal/conversion-to-generic-float.cc compilation failed to produce executable
FAIL: decimal/conversion-to-integral.cc (test for excess errors)
WARNING: decimal/conversion-to-integral.cc compilation failed to produce executable
FAIL: decimal/ctor.cc (test for excess errors)
WARNING: decimal/ctor.cc compilation failed to produce executable
FAIL: decimal/incdec-memfunc.cc (test for excess errors)
WARNING: decimal/incdec-memfunc.cc compilation failed to produce executable
FAIL: decimal/incdec.cc (test for excess errors)
WARNING: decimal/incdec.cc compilation failed to produce executable
FAIL: decimal/make-decimal.cc (test for excess errors)
WARNING: decimal/make-decimal.cc compilation failed to produce executable
FAIL: decimal/unary-arith.cc (test for excess errors)
WARNING: decimal/unary-arith.cc compilation failed to produce executable

Are these tests entirely glibc-centric and shouldn't they be disabled for
darwin?
                 Jack

^ permalink raw reply	[flat|nested] 11+ messages in thread
* Re: new libstdc++-v3 decimal failures
@ 2009-10-06 22:34 Benjamin Kosnik
  2009-10-06 22:56 ` Jack Howarth
  0 siblings, 1 reply; 11+ messages in thread
From: Benjamin Kosnik @ 2009-10-06 22:34 UTC (permalink / raw)
  To: howarth, gcc, janis187


Why do we have a libstdc++ list? For questions like this...

> > > > FAIL: decimal/binary-arith.cc (test for excess errors)

plus

> However, the testsuite failures still occurs as follows...
> 
> Executing on
> host: /sw/src/fink.build/gcc45-4.4.999-20091005/darwin_objdir/./gcc/g++
> -shared-libgcc
> from /sw/src/fink.build/gcc45-4.4.999-20091005/gcc-4.5-20091005/libstdc++-v3/testsuite/decimal/binary->
> arith.cc:22:0: /sw/src/fink.build/gcc45-4.4.999-20091005/darwin_objdir/x86_64-apple-darwin10.0.0/libstdc++->
> v3/include/decimal/decimal:39:2:
> error: #error This file requires compiler and library support for
> ISO/IEC TR 24733 that is currently not
> available. /sw/src/fink.build/gcc45-4.4.999-20091005/darwin_objdir/x86_64-apple-darwin10.0.0/libstdc++-v3/>
> include/decimal/decimal:228:56:
> error: unable to emulate
> 'SD' /sw/src/fink.build/gcc45-4.4.999-20091005/darwin_objdir/x86_64-apple-darwin10.0.0/libstdc++-v3/include/>
> decimal/decimal:249:5:
> error:
> 'std::decimal::decimal32::decimal32(std::decimal::decimal32::__decfloat32)'
> cannot be
> overloaded /sw/src/fink.build/gcc45-4.4.999-20091005/darwin_objdir/x86_64-apple-darwin10.0.0/libstdc++-v3/>
> include/decimal/decimal:236:14:
> error: with 'std::decimal::decimal32::decimal32(float)'
 
...means that it's the excess error that is the fail. Not the error.

On the brightside, the error is better now, I think.

> etc...for about a hundred errors. Doesn't this imply that the dejagnu
> test harness isn't properly recognizing the absence of the decimal
> support?

I changed this from what Janis posted, so she is certainly not to blame
here. In any case, all you should have to do is add a new line for this
new error:

> error: #error This file requires compiler and library support for
> ISO/IEC TR 24733 that is currently not
> available. 

-benjamin

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2009-10-06 23:13 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-06 13:04 new libstdc++-v3 decimal failures Jack Howarth
2009-10-06 16:24 ` Janis Johnson
2009-10-06 16:45   ` Janis Johnson
2009-10-06 22:19     ` Jack Howarth
2009-10-06 22:30       ` Janis Johnson
2009-10-06 22:37         ` Jack Howarth
2009-10-06 22:40         ` Janis Johnson
2009-10-06 22:53           ` Jack Howarth
2009-10-06 22:34 Benjamin Kosnik
2009-10-06 22:56 ` Jack Howarth
2009-10-06 23:13   ` Janis Johnson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).