https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69018
Bug ID: 69018 Summary: libitm/testsuite/libitm.c++/c++.exp: libstdc++ include paths don't work if tests set options Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libitm Assignee: unassigned at gcc dot gnu.org Reporter: torvald at gcc dot gnu.org Target Milestone: --- If a tests sets an option (eg, // { dg-options "-fgnu-tm" }), then the include paths for C++ std headers set by c++.exp don't work anymore. Switching the last two arguments to the "dg-runtest" command close to the end of c++.exp makes it work, but I don't know whether that's a fix or a workaround.