]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: [_GLIBCXX_INLINE_VERSION] Fix tests failures
authorFrançois Dumont <frs.dumont@gmail.com>
Mon, 28 Apr 2025 16:53:36 +0000 (18:53 +0200)
committerFrançois Dumont <fdumont@gcc.gnu.org>
Wed, 30 Apr 2025 05:41:32 +0000 (07:41 +0200)
commit3418d740b344e0ba38022f3bed90540ec3de35dd
treefba8224cc6d0a5dac8efd3f64d4cff91d6cfa16b
parente363940e1cef7f6face970414ffaa565daf413bd
libstdc++: [_GLIBCXX_INLINE_VERSION] Fix tests failures

Adapt testsuite v3_target_compile to strip version namespace from compiler
output so that dg-error and dg-warning directives do not need to consider it.

libstdc++-v3/ChangeLog:

* testsuite/lib/libstdc++.exp (v3_target_compile): Strip version namespace
from compiler output.
* testsuite/20_util/function/cons/70692.cc: Remove now useless __8 namespace
pattern.
* testsuite/23_containers/map/48101_neg.cc: Likewise.
* testsuite/23_containers/multimap/48101_neg.cc: Likewise.

Co-authored-by: Jonathan Wakely <jwakely@redhat.com>
(cherry picked from commit 8709d6a17830c8a9f48cb3ac6dfc6af76f2e1e81)
libstdc++-v3/testsuite/20_util/function/cons/70692.cc
libstdc++-v3/testsuite/23_containers/map/48101_neg.cc
libstdc++-v3/testsuite/23_containers/multimap/48101_neg.cc
libstdc++-v3/testsuite/lib/libstdc++.exp