... I think your patch fixes c++/63887. The libiberty testsuite passes with the below applied.

Paolo.

//////////////////
Index: testsuite/demangle-expected
===================================================================
--- testsuite/demangle-expected (revision 226910)
+++ testsuite/demangle-expected (working copy)
@@ -4390,8 +4390,13 @@ f(std::string[abi:foo], std::string[abi:foo])
 _Z18IndirectExternCallIPU7stdcallU7regparmILi3EEFviiEiEvT_T0_S3_
 void IndirectExternCall<void ( regparm<3> stdcall*)(int, int), int>(void ( 
regparm<3> stdcall*)(int, int), int, void ( regparm<3> stdcall*)(int, int))
 # 
-# ABI tags used to confuse the constructor name calculation.
+# ABI tags used to confuse the constructor and destructor name calculation.
 --format=gnu-v3 --no-params
 _ZNSt8ios_base7failureB5cxx11C1EPKcRKSt10error_code
 std::ios_base::failure[abi:cxx11]::failure(char const*, std::error_code const&)
 std::ios_base::failure[abi:cxx11]::failure
+# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63887
+--format=gnu-v3 --no-params
+_ZNSt8time_getB5cxx11D1Ev
+std::time_get[abi:cxx11]::~time_get()
+std::time_get[abi:cxx11]::~time_get

Reply via email to