https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78202
--- Comment #2 from Bernd Edlinger <bernd.edlinger at hotmail dot de> --- libitm.c++/throwdown.C is fixable, as it does not need the internal functions from libitm.h: Index: testsuite/libitm.c++/throwdown.C =================================================================== --- testsuite/libitm.c++/throwdown.C (Revision 241846) +++ testsuite/libitm.c++/throwdown.C (Arbeitskopie) @@ -1,7 +1,5 @@ // { dg-do compile } -#include <libitm.h> - static void throwit() { throw 1; }