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]

[v3 patch] add missing export for std::regex_error and fix tests


I found a few tests containing VERIFY assertions that were incorrectly
marked { dg-do compile } so weren't executed, hiding some broken tests
and a missing export. This adds the export and fixes the tests. I
deleted the TR1 test because it won't link due to unimplemented
features so doesn't really test anything.

2013-11-19  Jonathan Wakely  <jwakely.gcc@gmail.com>

    * config/abi/pre/gnu.ver (_ZNSt11regex_errorC*): Export regex_error
    constructors.
    * testsuite/20_util/addressof/1.cc: Remove { dg-do compile }.
    * testsuite/20_util/allocator_traits/members/destroy.cc: Likewise.
    * testsuite/20_util/allocator_traits/members/select.cc: Likewise. Fix
    failure.
    * testsuite/28_regex/basic_regex/ctors/extended/cstring.cc: Likewise.
    * testsuite/28_regex/init-list.cc: Likewise.
    * testsuite/28_regex/regex_error/regex_error.cc: Likewise.
    * testsuite/28_regex/sub_match/length.cc: Likewise. Add main.
    * testsuite/28_regex/sub_match/cast_char.cc: Likewise. Fix test.
    * testsuite/28_regex/sub_match/cast_wchar_t.cc: Likewise.
    * testsuite/tr1/7_regular_expressions/regex/cons/char/
    c_string_extended.cc: Delete.

Tested x86_64-linux, committed to trunk.

Attachment: patch.txt
Description: Text document


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