https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114275
--- Comment #9 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Adhemerval Zanella from comment #8) > This has triggered some regression on aarch64 [1]: > > Running g++:g++.dg/modules/modules.exp ... > FAIL: g++.dg/modules/tpl-friend-4_b.C -std=c++17 (test for errors, line 16) > FAIL: g++.dg/modules/tpl-friend-4_b.C -std=c++17 (test for errors, line 19) > FAIL: g++.dg/modules/tpl-friend-4_b.C -std=c++17 (internal compiler error: > in set_originating_module, at cp/module.cc:19236) > FAIL: g++.dg/modules/tpl-friend-4_b.C -std=c++17 (test for excess errors) > > https://ci.linaro.org/job/tcwg_gnu_native_check_gcc--master-aarch64-build/ > 1092/artifact/artifacts/notify/mail-body.txt/*view*/ Yes this is known already see thread starting at https://gcc.gnu.org/pipermail/gcc-patches/2024-May/650315.html . I think there was a new patch submitted already too.