https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109064
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- Unfortunately in the testsuite those errors cause the test to be ignored as UNSUPPORTED, instead of making it FAIL: Python Exception <class 'RecursionError'>: maximum recursion depth exceeded^M skipping: Python Exception <class 'RecursionError'>: maximum recursion depth exceeded^M shared_ptr.gdb:32: Error in sourced command file: Error while looking for matching xmethod workers defined in Python. skipping: shared_ptr.gdb:32: Error in sourced command file: skipping: Error while looking for matching xmethod workers defined in Python. UNSUPPORTED: libstdc++-xmethods/shared_ptr.cc There's a second problem in that SharedPtrUseCountWorker class as well.