This is the mail archive of the gcc@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]

'make check' in libiberty, 31 failures


I'm running

  make -C libiberty/testsuite check

on gcc HEAD, and it fails with:

  ./test-demangle: 714 tests, 31 failures

My platform is native i686-pc-linux-gnu, red hat linux 8.
My baseline compiler is gcc 3.2.3, binutils 2.14.

I run this test regularly.  This worked with gcc HEAD checked out on
2003-06-24, and now it fails with gcc HEAD checked out on 2003-06-30
00:18:28 UTC.  Binutils HEAD and gdb HEAD also give these results.

The demangler itself hasn't changed since 2003-06-24, just some new
tests were added.  All the failures are in the new tests.

I've attached the whole log file (it's not that long).

I can wait a few days first if it's a quick fix.  After that, where
should I file a bug report ... in the normal gcc bug database, or is
there somewhere special for libiberty demangler bugs?

Michael C

===

make: Entering directory `/berman/fsf/_today_/berman/build/target/native/gcc/gcc-HEAD-binutils-2.14/libiberty/testsuite'
gcc -DHAVE_CONFIG_H -g -O2 -I.. -I/berman/fsf/_today_/source/gcc/HEAD/gcc/libiberty/testsuite/../../include  -o test-demangle \
	/berman/fsf/_today_/source/gcc/HEAD/gcc/libiberty/testsuite/test-demangle.c ../libiberty.a
./test-demangle < /berman/fsf/_today_/source/gcc/HEAD/gcc/libiberty/testsuite/demangle-expected
FAIL at line 2648, style gnu-v3:
in:  _Z3fooIiFvdEiEvv
out: (null)
exp: void foo<int, void ()(double), int>()
FAIL at line 2672, style gnu-v3:
in:  _ZngILi42EEvN1AIXplT_Li2EEE1TE
out: void operator-<(int)42>(A<((int)42)+((int)2)>::T)
exp: void operator-<42>(A<(42) + (2)>::T)
FAIL at line 2692, style gnu-v3:
in:  _ZlsRSoRKSs
out: operator<<(std::basic_ostream<char, std::char_traits<char> >&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
exp: operator<<(std::ostream&, std::string const&)
FAIL at line 2700, style gnu-v3:
in:  U4_farrVKPi
out: _far int* restrict volatile const
exp: int* restrict volatile const _far
FAIL at line 2704, style gnu-v3:
in:  _Z3fooILi2EEvRAplT_Li1E_i
out: void foo<(int)2>(int (&) [((int)2)+((int)1)])
exp: void foo<2>(int (&) [(2) + (1)])
FAIL at line 2708, style gnu-v3:
in:  _Z1fM1AKFvvE
out: (null)
exp: f(void (A::*)() const)
FAIL at line 2716, style gnu-v3:
in:  2CBIL_Z3foocEE
out: (null)
exp: CB<foo(char)>
FAIL at line 2720, style gnu-v3:
in:  2CBIL_Z7IsEmptyEE
out: (null)
exp: CB<IsEmpty>
FAIL at line 2728, style gnu-v3:
in:  _ZZN1N1fEiEs
out: N::f(int)::string literal [#0]
exp: N::f(int)::string literal
FAIL at line 2748, style gnu-v3:
in:  _Z1fKPFiiE
out: f(int (*)(int) const)
exp: f(int (* const)(int))
FAIL at line 2752, style gnu-v3:
in:  _Z1fAszL_ZZNK1N1A1fEvE3foo_0E_i
out: f(int[ sizeof(N::A::f()::foo [# ])const1])
exp: f(int[sizeof(N::A::f() const::foo)])
FAIL at line 2756, style gnu-v3:
in:  _Z1fA37_iPS_
out: f(int[37], int[37]*)
exp: f(int[37], int (*) [37])
FAIL at line 2760, style gnu-v3:
in:  _Z1fM1AFivEPS0_
out: f(int (A::*)(), int ()()*)
exp: f(int (A::*)(), int (*)())
FAIL at line 2764, style gnu-v3:
in:  _Z1fPFPA1_ivE
out: f(int (*) [1] (*)())
exp: f(int (*(*)()) [1])
FAIL at line 2768, style gnu-v3:
in:  _Z1fPKM1AFivE
out: f(int (A::*)() const*)
exp: f(int (A::* const*)())
FAIL at line 2772, style gnu-v3:
in:  _Z1jM1AFivEPS1_
out: j(int (A::*)(), int (A::*)()*)
exp: j(int (A::*)(), int (A::**)())
FAIL at line 2776, style gnu-v3:
in:  _Z1sPA37_iPS0_
out: s(int (*) [37], int (*) [37]*)
exp: s(int (*) [37], int (**) [37])
FAIL at line 2780, style gnu-v3:
in:  _Z3fooA30_A_i
out: foo(int[][30])
exp: foo(int[30][])
FAIL at line 2784, style gnu-v3:
in:  _Z3kooPA28_A30_i
out: koo(int[30] (*) [28])
exp: koo(int (*) [28][30])
FAIL at line 2788, style gnu-v3:
in:  _ZlsRKU3fooU4bart1XS0_
out: operator<<(foo bart X const&, bart X)
exp: operator<<(X bart foo const&, X bart)
FAIL at line 2792, style gnu-v3:
in:  _ZlsRKU3fooU4bart1XS2_
out: operator<<(foo bart X const&, foo bart X const)
exp: operator<<(X bart foo const&, X bart foo const)
FAIL at line 2796, style gnu-v3:
in:  _Z1fM1AKFivE
out: (null)
exp: f(int (A::*)() const)
FAIL at line 2800, style gnu-v3:
in:  _Z3absILi11EEvv
out: void abs<(int)11>()
exp: void abs<11>()
FAIL at line 2804, style gnu-v3:
in:  _ZN1AIfEcvT_IiEEv
out: A<float>::operator float<int>()
exp: A<float>::operator int<int>()
FAIL at line 2816, style gnu-v3:
in:  _ZN5libcw5debug13cwprint_usingINS_9_private_12GlobalObjectEEENS0_17cwprint_using_tctIT_EERKS5_MS5_KFvRSt7ostreamE
out: (null)
exp: libcw::debug::cwprint_using_tct<libcw::_private_::GlobalObject> libcw::debug::cwprint_using<libcw::_private_::GlobalObject>(libcw::_private_::GlobalObject const&, void (libcw::_private_::GlobalObject::*)(std::ostream&) const)
FAIL at line 2836, style gnu-v3:
in:  _Z1fI1APS0_PKS0_EvT_T0_T1_PA4_S3_M1CS8_
out: void f<A, A*, A const*>(A, A*, A const*, A const* (*) [4], A const* (*) [4] C::*)
exp: void f<A, A*, A const*>(A, A*, A const*, A const* (*) [4], A const* (* C::*) [4])
FAIL at line 2840, style gnu-v3:
in:  _Z3fooiPiPS_PS0_PS1_PS2_PS3_PS4_PS5_PS6_PS7_PS8_PS9_PSA_PSB_PSC_
out: foo(int, int*, int**, int***, int****, int*****, int******, int*******, int********, int*********, int**********, int***********, int************, int*************, int*************, int**************)
exp: foo(int, int*, int**, int***, int****, int*****, int******, int*******, int********, int*********, int**********, int***********, int************, int*************, int**************, int***************)
FAIL at line 2852, style gnu-v3:
in:  _ZNSt13_Alloc_traitsISbIcSt18string_char_traitsIcEN5libcw5debug9_private_17allocator_adaptorIcSt24__default_alloc_templateILb0ELi327664EELb1EEEENS5_IS9_S7_Lb1EEEE15_S_instancelessE
out: std::_Alloc_traits<std::basic_string<char, std::string_char_traits<char>, libcw::debug::_private_::allocator_adaptor<char, std::__default_alloc_template<(bool)0, (int)327664>, (bool)1> >, libcw::debug::_private_::allocator_adaptor<std::basic_string<char, std::string_char_traits<char>, libcw::debug::_private_::allocator_adaptor<char, std::__default_alloc_template<(bool)0, (int)327664>, (bool)1> >, std::__default_alloc_template<(bool)0, (int)327664>, (bool)1> >::_S_instanceless
exp: std::_Alloc_traits<std::basic_string<char, std::string_char_traits<char>, libcw::debug::_private_::allocator_adaptor<char, std::__default_alloc_template<false, 327664>, true> >, libcw::debug::_private_::allocator_adaptor<std::basic_string<char, std::string_char_traits<char>, libcw::debug::_private_::allocator_adaptor<char, std::__default_alloc_template<false, 327664>, true> >, std::__default_alloc_template<false, 327664>, true> >::_S_instanceless
FAIL at line 2856, style gnu-v3:
in:  _GLOBAL__I__Z2fnv
out: (null)
exp: global constructors keyed to fn()
FAIL at line 2860, style gnu-v3:
in:  _Z1rM1GFivEMS_KFivES_M1HFivES1_4whatIKS_E5what2IS8_ES3_
out: (null)
exp: r(int (G::*)(), int (G::*)() const, G, int (H::*)(), int (G::*)(), what<G const>, what2<G const>, int (G::*)() const)
FAIL at line 2866, style auto:
in:  __CPR212____ct__Q3_3std141list__tm__128_Q2_3edm41THandle__tm__26_Q2_4emid15EMparticleChunkQ2_3std68allocator__tm__51_Q2_3edmJ37J14const_iteratorFRCQ3_3std18list__tm__7_Z1ZZ2Z8iterator
out: _Z1ZZ2Z::__CPR212____ct__Q3_3std141list__tm__128_Q2_3edm41THandle__tm__26_Q2_4emid15EMparticleChunkQ2_3std68allocator__tm__51_Q2_3edmJ37J14const_iteratorFRCQ3_3std18list__tm(iterator)
exp: __CPR212____ct__Q3_3std141list__tm__128_Q2_3edm41THandle__tm__26_Q2_4emid15EMparticleChunkQ2_3std68allocator__tm__51_Q2_3edmJ37J14const_iteratorFRCQ3_3std18list__tm__7_Z1ZZ2Z8iterator
./test-demangle: 714 tests, 31 failures
make: *** [check-cplus-dem] Error 1
make: Leaving directory `/berman/fsf/_today_/berman/build/target/native/gcc/gcc-HEAD-binutils-2.14/libiberty/testsuite'


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