https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108899
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- I bet yes, because I've just reproduced it with make check-g++ RUNTESTFLAGS='--target_board=unix\{-m32,-m64\} modules.exp' Retrying now with my patch.