PR libstdc++/87618 fix typos in linker script
PR libstdc++/87618 * config/abi/pre/gnu.ver: Fix typos in patterns for basic_stringbuf. * testsuite/27_io/basic_stringbuf/cons/char/default.cc: Disable optimisation to check constructor definition can be linked to. * testsuite/27_io/basic_stringbuf/cons/wchar_t/default.cc: Likewise. From-SVN: r265188
This commit is contained in:
parent
92a7f46b09
commit
d30096b45f
@ -1,3 +1,11 @@
|
||||
2018-10-16 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
PR libstdc++/87618
|
||||
* config/abi/pre/gnu.ver: Fix typos in patterns for basic_stringbuf.
|
||||
* testsuite/27_io/basic_stringbuf/cons/char/default.cc: Disable
|
||||
optimisation to check constructor definition can be linked to.
|
||||
* testsuite/27_io/basic_stringbuf/cons/wchar_t/default.cc: Likewise.
|
||||
|
||||
2018-10-15 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
* testsuite/22_locale/numpunct/members/char/3.cc: Adjust test to
|
||||
|
@ -2032,10 +2032,10 @@ GLIBCXX_3.4.26 {
|
||||
_ZNSt13runtime_erroraSEOS_;
|
||||
|
||||
# Default constructors for stringstreams
|
||||
_ZNSt15basic_stringbuf[cw]St11char_traitsI[cw]ESaI[cw]EEC[12]Ev;
|
||||
_ZNSt15basic_stringbufI[cw]St11char_traitsI[cw]ESaI[cw]EEC[12]Ev;
|
||||
_ZNSt18basic_stringstreamI[cw]St11char_traitsI[cw]ESaI[cw]EEC[12]Ev;
|
||||
_ZNSt19basic_[io]stringstreamI[cw]St11char_traitsI[cw]ESaI[cw]EEC[12]Ev;
|
||||
_ZNSt7__cxx1115basic_stringbuf[cw]St11char_traitsI[cw]ESaI[cw]EEC[12]Ev;
|
||||
_ZNSt7__cxx1115basic_stringbufI[cw]St11char_traitsI[cw]ESaI[cw]EEC[12]Ev;
|
||||
_ZNSt7__cxx1118basic_stringstreamI[cw]St11char_traitsI[cw]ESaI[cw]EEC[12]Ev;
|
||||
_ZNSt7__cxx1119basic_[io]stringstreamI[cw]St11char_traitsI[cw]ESaI[cw]EEC[12]Ev;
|
||||
|
||||
|
@ -17,6 +17,7 @@
|
||||
|
||||
// C++11 27.8.2.1 basic_stringbuf constructors [stringbuf.cons]
|
||||
|
||||
// { dg-options "-O0" }
|
||||
// { dg-do run { target c++11 } }
|
||||
|
||||
#include <sstream>
|
||||
@ -29,7 +30,15 @@ void test01()
|
||||
test.operator()<std::stringbuf>();
|
||||
}
|
||||
|
||||
int main()
|
||||
void test02()
|
||||
{
|
||||
// PR libstdc++/87618
|
||||
// Compiled without optimisation to check this constructor is exported.
|
||||
std::stringbuf sb;
|
||||
}
|
||||
|
||||
int main()
|
||||
{
|
||||
test01();
|
||||
test02();
|
||||
}
|
||||
|
@ -17,6 +17,7 @@
|
||||
|
||||
// C++11 27.8.2.1 basic_stringbuf constructors [stringbuf.cons]
|
||||
|
||||
// { dg-options "-O0" }
|
||||
// { dg-do run { target c++11 } }
|
||||
|
||||
#include <sstream>
|
||||
@ -29,7 +30,15 @@ void test01()
|
||||
test.operator()<std::wstringbuf>();
|
||||
}
|
||||
|
||||
int main()
|
||||
void test02()
|
||||
{
|
||||
// PR libstdc++/87618
|
||||
// Compiled without optimisation to check this constructor is exported.
|
||||
std::wstringbuf sb;
|
||||
}
|
||||
|
||||
int main()
|
||||
{
|
||||
test01();
|
||||
test02();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user