public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r9-9641] libstdc++: Fix test failure in C++20 mode
@ 2021-07-22 21:29 Jonathan Wakely
  0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2021-07-22 21:29 UTC (permalink / raw)
  To: gcc-cvs, libstdc++-cvs

https://gcc.gnu.org/g:727681335798fa8c4e53148bb24a965640d1e2b1

commit r9-9641-g727681335798fa8c4e53148bb24a965640d1e2b1
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Thu Jul 22 22:26:30 2021 +0100

    libstdc++: Fix test failure in C++20 mode
    
    Because the container types are ambiguous in this test, the declarations
    of the C++20 uniform container erasure function template produce
    additional errors. They can be ignored.
    
    libstdc++-v3/ChangeLog:
    
            * testsuite/ext/profile/mutex_extensions_neg.cc: Prune
            additional errors in C++20 mode.

Diff:
---
 libstdc++-v3/testsuite/ext/profile/mutex_extensions_neg.cc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/libstdc++-v3/testsuite/ext/profile/mutex_extensions_neg.cc b/libstdc++-v3/testsuite/ext/profile/mutex_extensions_neg.cc
index cd2a48845aa..f34c4fd107e 100644
--- a/libstdc++-v3/testsuite/ext/profile/mutex_extensions_neg.cc
+++ b/libstdc++-v3/testsuite/ext/profile/mutex_extensions_neg.cc
@@ -31,3 +31,6 @@
 // { dg-prune-output "tuple:993" }
 // PMR alias templates cause ambiguities between debug and profile containers:
 // { dg-prune-output "is ambiguous" }
+// C++20 uniform container erasure causes more errors
+// { dg-prune-output "expected nested-name-specifier before" }
+// { dg-prune-output "expected initializer before" }


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-07-22 21:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-22 21:29 [gcc r9-9641] libstdc++: Fix test failure in C++20 mode Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).