https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67408

--- Comment #7 from Sebastian Huber <sebastian.hu...@embedded-brains.de> ---
(In reply to Jonathan Wakely from comment #6)
> (In reply to Sebastian Huber from comment #4)
> > Sorry, I should have linked my patch:
> > 
> > https://gcc.gnu.org/ml/gcc-patches/2015-09/msg00028.html
> 
> AH yes, that would work too, and doesn't require the compiler to do any
> overload resolution.
> 
> N.B. all libstdc++ patches need to be CC'd to the libstdc++ list, I don't
> read gcc-patches.

I tested my patch on Linux, and it seems to work fine. I guess the pretty
printer failures are not related to <mutex> since they are produced by gdb.
Should I test your patches as well? My C++ knowledge is not good enough to
judge which solution is better.

Native configuration is x86_64-pc-linux-gnu

                === libstdc++ tests ===

Schedule of variations:
    unix

Running target unix
Using /usr/share/dejagnu/baseboards/unix.exp as board description file for
target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
Using
/home/EB/sebastian_h/archive/gcc-git/libstdc++-v3/testsuite/config/default.exp
as tool-and-target-specific interface file.
Running
/home/EB/sebastian_h/archive/gcc-git/libstdc++-v3/testsuite/libstdc++-abi/abi.exp
...
Running
/home/EB/sebastian_h/archive/gcc-git/libstdc++-v3/testsuite/libstdc++-dg/conformance.exp
...
Running
/home/EB/sebastian_h/archive/gcc-git/libstdc++-v3/testsuite/libstdc++-prettyprinters/prettyprinters.exp
...
FAIL: libstdc++-prettyprinters/48362.cc print t1
FAIL: libstdc++-prettyprinters/48362.cc print t2
FAIL: libstdc++-prettyprinters/cxx11.cc print efl
FAIL: libstdc++-prettyprinters/cxx11.cc print refl
FAIL: libstdc++-prettyprinters/cxx11.cc print fl
FAIL: libstdc++-prettyprinters/cxx11.cc print rfl
FAIL: libstdc++-prettyprinters/cxx11.cc print eum
FAIL: libstdc++-prettyprinters/cxx11.cc print reum
FAIL: libstdc++-prettyprinters/cxx11.cc print eumm
FAIL: libstdc++-prettyprinters/cxx11.cc print reumm
FAIL: libstdc++-prettyprinters/cxx11.cc print eus
FAIL: libstdc++-prettyprinters/cxx11.cc print reus
FAIL: libstdc++-prettyprinters/cxx11.cc print eums
FAIL: libstdc++-prettyprinters/cxx11.cc print reums
FAIL: libstdc++-prettyprinters/cxx11.cc print uom
FAIL: libstdc++-prettyprinters/cxx11.cc print ruom
FAIL: libstdc++-prettyprinters/cxx11.cc print uomm
FAIL: libstdc++-prettyprinters/cxx11.cc print ruomm
FAIL: libstdc++-prettyprinters/debug.cc print str
FAIL: libstdc++-prettyprinters/debug.cc print bs
FAIL: libstdc++-prettyprinters/debug.cc print deq
FAIL: libstdc++-prettyprinters/debug.cc print deqiter
FAIL: libstdc++-prettyprinters/debug.cc print lst
FAIL: libstdc++-prettyprinters/debug.cc print lstiter
FAIL: libstdc++-prettyprinters/debug.cc print lstciter
FAIL: libstdc++-prettyprinters/debug.cc print mp
FAIL: libstdc++-prettyprinters/debug.cc print mpiter
FAIL: libstdc++-prettyprinters/debug.cc print sp
FAIL: libstdc++-prettyprinters/debug.cc print spciter
FAIL: libstdc++-prettyprinters/debug.cc print sll
FAIL: libstdc++-prettyprinters/debug.cc print slliter
FAIL: libstdc++-prettyprinters/libfundts.cc print str
FAIL: libstdc++-prettyprinters/libfundts.cc print o
FAIL: libstdc++-prettyprinters/libfundts.cc print ob
FAIL: libstdc++-prettyprinters/libfundts.cc print oi
FAIL: libstdc++-prettyprinters/libfundts.cc print op
FAIL: libstdc++-prettyprinters/libfundts.cc print om
FAIL: libstdc++-prettyprinters/libfundts.cc print os
FAIL: libstdc++-prettyprinters/libfundts.cc print a
FAIL: libstdc++-prettyprinters/libfundts.cc print ab
FAIL: libstdc++-prettyprinters/libfundts.cc print ai
FAIL: libstdc++-prettyprinters/libfundts.cc print ap
FAIL: libstdc++-prettyprinters/libfundts.cc print as
FAIL: libstdc++-prettyprinters/libfundts.cc print as2
FAIL: libstdc++-prettyprinters/libfundts.cc print am
FAIL: libstdc++-prettyprinters/shared_ptr.cc print esp
FAIL: libstdc++-prettyprinters/shared_ptr.cc print ewp1
FAIL: libstdc++-prettyprinters/shared_ptr.cc print ewp2
FAIL: libstdc++-prettyprinters/shared_ptr.cc print sp1
FAIL: libstdc++-prettyprinters/shared_ptr.cc print wp1
FAIL: libstdc++-prettyprinters/shared_ptr.cc print wp2
FAIL: libstdc++-prettyprinters/simple.cc print str
FAIL: libstdc++-prettyprinters/simple.cc print bs
FAIL: libstdc++-prettyprinters/simple.cc print deq
FAIL: libstdc++-prettyprinters/simple.cc print deqiter
FAIL: libstdc++-prettyprinters/simple.cc print lst
FAIL: libstdc++-prettyprinters/simple.cc print lstiter
FAIL: libstdc++-prettyprinters/simple.cc print lstciter
FAIL: libstdc++-prettyprinters/simple.cc print mp
FAIL: libstdc++-prettyprinters/simple.cc print mpiter
FAIL: libstdc++-prettyprinters/simple.cc print sp
FAIL: libstdc++-prettyprinters/simple.cc print spciter
FAIL: libstdc++-prettyprinters/simple.cc print sll
FAIL: libstdc++-prettyprinters/simple.cc print slliter
FAIL: libstdc++-prettyprinters/simple11.cc print str
FAIL: libstdc++-prettyprinters/simple11.cc print bs
FAIL: libstdc++-prettyprinters/simple11.cc print deq
FAIL: libstdc++-prettyprinters/simple11.cc print deqiter
FAIL: libstdc++-prettyprinters/simple11.cc print lst
FAIL: libstdc++-prettyprinters/simple11.cc print lstiter
FAIL: libstdc++-prettyprinters/simple11.cc print lstciter
FAIL: libstdc++-prettyprinters/simple11.cc print mp
FAIL: libstdc++-prettyprinters/simple11.cc print mpiter
FAIL: libstdc++-prettyprinters/simple11.cc print sp
FAIL: libstdc++-prettyprinters/simple11.cc print spciter
FAIL: libstdc++-prettyprinters/simple11.cc print sll
FAIL: libstdc++-prettyprinters/simple11.cc print slliter
FAIL: libstdc++-prettyprinters/tr1.cc print eum
FAIL: libstdc++-prettyprinters/tr1.cc print eumm
FAIL: libstdc++-prettyprinters/tr1.cc print eus
FAIL: libstdc++-prettyprinters/tr1.cc print eums
FAIL: libstdc++-prettyprinters/tr1.cc print uom
FAIL: libstdc++-prettyprinters/tr1.cc print uomm
FAIL: libstdc++-prettyprinters/tr1.cc print uos
FAIL: libstdc++-prettyprinters/tr1.cc print uoms
FAIL: libstdc++-prettyprinters/whatis.cc whatis string_holder
FAIL: libstdc++-prettyprinters/whatis.cc whatis ios_holder
FAIL: libstdc++-prettyprinters/whatis.cc whatis streambuf_holder
FAIL: libstdc++-prettyprinters/whatis.cc whatis istream_holder
FAIL: libstdc++-prettyprinters/whatis.cc whatis ostream_holder
FAIL: libstdc++-prettyprinters/whatis.cc whatis iostream_holder
FAIL: libstdc++-prettyprinters/whatis.cc whatis stringbuf_holder
FAIL: libstdc++-prettyprinters/whatis.cc whatis istringstream_holder
FAIL: libstdc++-prettyprinters/whatis.cc whatis ostringstream_holder
FAIL: libstdc++-prettyprinters/whatis.cc whatis stringstream_holder
FAIL: libstdc++-prettyprinters/whatis.cc whatis filebuf_holder
FAIL: libstdc++-prettyprinters/whatis.cc whatis ifstream_holder
FAIL: libstdc++-prettyprinters/whatis.cc whatis ofstream_holder
FAIL: libstdc++-prettyprinters/whatis.cc whatis fstream_holder
FAIL: libstdc++-prettyprinters/whatis.cc whatis streampos_holder
FAIL: libstdc++-prettyprinters/whatis.cc whatis regex_holder
FAIL: libstdc++-prettyprinters/whatis.cc whatis csub_match_holder
FAIL: libstdc++-prettyprinters/whatis.cc whatis ssub_match_holder
FAIL: libstdc++-prettyprinters/whatis.cc whatis cmatch_holder
FAIL: libstdc++-prettyprinters/whatis.cc whatis smatch_holder
FAIL: libstdc++-prettyprinters/whatis.cc whatis cregex_iterator_holder
FAIL: libstdc++-prettyprinters/whatis.cc whatis sregex_iterator_holder
FAIL: libstdc++-prettyprinters/whatis.cc whatis cregex_token_iterator_holder
FAIL: libstdc++-prettyprinters/whatis.cc whatis sregex_token_iterator_holder
FAIL: libstdc++-prettyprinters/whatis.cc whatis u16string_holder
FAIL: libstdc++-prettyprinters/whatis.cc whatis u32string_holder
FAIL: libstdc++-prettyprinters/whatis.cc whatis minstd_rand0_holder
FAIL: libstdc++-prettyprinters/whatis.cc whatis minstd_rand_holder
FAIL: libstdc++-prettyprinters/whatis.cc whatis mt19937_holder
FAIL: libstdc++-prettyprinters/whatis.cc whatis mt19937_64_holder
FAIL: libstdc++-prettyprinters/whatis.cc whatis ranlux24_base_holder
FAIL: libstdc++-prettyprinters/whatis.cc whatis ranlux48_base_holder
FAIL: libstdc++-prettyprinters/whatis.cc whatis ranlux24_holder
FAIL: libstdc++-prettyprinters/whatis.cc whatis ranlux48_holder
FAIL: libstdc++-prettyprinters/whatis.cc whatis knuth_b_holder
FAIL: libstdc++-prettyprinters/whatis.cc whatis seq1_holder
FAIL: libstdc++-prettyprinters/whatis.cc whatis seq2_holder
FAIL: libstdc++-prettyprinters/whatis.cc whatis assoc1_holder
FAIL: libstdc++-prettyprinters/whatis.cc whatis assoc2_holder
FAIL: libstdc++-prettyprinters/whatis.cc whatis unord1_holder
FAIL: libstdc++-prettyprinters/whatis.cc whatis unord2_holder
Running
/home/EB/sebastian_h/archive/gcc-git/libstdc++-v3/testsuite/libstdc++-xmethods/xmethods.exp
...

                === libstdc++ Summary ===

# of expected passes            10718
# of unexpected failures        126
# of expected failures          66
# of unsupported tests          232

Reply via email to