libstdc++: Fix tests that fail with old std::string ABI
authorJonathan Wakely <jwakely@redhat.com>
Wed, 14 Oct 2020 15:15:49 +0000 (16:15 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Wed, 14 Oct 2020 15:15:49 +0000 (16:15 +0100)
commit2b9c09a78b048328e41419e6b941cf0207bfd6bc
tree982d57794904da82a2afa9dff9c690dd5e1c74ea
parenta121715bcab6e8980768d142b9781c45821130ac
libstdc++: Fix tests that fail with old std::string ABI

These two tests have started to fail with the old std::string ABI. The
scan-assembler-not checks fail because they match debug info, not code.

Adding -g0 to the test flags fixes them.

libstdc++-v3/ChangeLog:

* testsuite/21_strings/basic_string/modifiers/assign/char/move_assign_optim.cc:
Do not generate debug info.
* testsuite/21_strings/basic_string/modifiers/assign/wchar_t/move_assign_optim.cc:
Likewise.
libstdc++-v3/testsuite/21_strings/basic_string/modifiers/assign/char/move_assign_optim.cc
libstdc++-v3/testsuite/21_strings/basic_string/modifiers/assign/wchar_t/move_assign_optim.cc