https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101211

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Ah, I bet it started to fail because I added this to the test:

{ dg-add-options no_pch }

So this should fix it for arm:

--- a/libstdc++-v3/testsuite/17_intro/names.cc
+++ b/libstdc++-v3/testsuite/17_intro/names.cc
@@ -208,6 +208,11 @@
 #undef r
 #endif

+#if defined (__linux__) && defined (__arm__)
+// <sys/ucontext.h> defines fpregset_t::fpregs::j
+#undef j
+#endif
+
 #if defined (__linux__) && defined (__powerpc__)
 // <asm/types.h> defines __vector128::u
 #undef u


What is the exact error for aarch64?

Reply via email to