This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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]

more symbols fixes



looking at the first failure, 21_strings/append.cc, I see:

%curr.out 
curr.out: 21_strings/append.cc:68: bool test01(): Assertion `false' failed.
Abort (core dumped)

  // string& append(const string&, size_type pos, size_type n)
  str05.erase();
  str06.erase();
  csz01 = str03.size();
  try {
    str06.append(str03, csz01 + 1, 0);
    VERIFY( false ); 
  }
  catch(std::out_of_range& fail) {
    VERIFY( true );
  }
  catch(...) {
    VERIFY( false ); <--here
  }


Feeling lucky, I look at the symbol table in the executable for append.cc:

%grep logic_error list.out 
0804a9d1 V _ZTSSt11logic_error
0804b01c V _ZTISt11logic_error

%c++filt -n _ZTSSt11logic_error
typeinfo name for std::logic_error

Ah haaaaa....

I added:

    # typeinfo
    _ZTSSt*;

And am re-running tests now.... but all the previously-failing
21_strings/*.cc test pass.

-benjamin






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