Tamar Christina <tamar.christ...@arm.com> writes: > Hi All, > > The test in check_effective_target_exceptions_enabled uses a C++ keyword > `throw` > and the test fails with a syntax error on any non-g++ test. I now tell the > testsuite driver that this is a C++ input file so it runs it as such in all > the > drivers.
Nice! Seen that message a few times but never quite drummed up the enthusiasm to fix it. > Regtested on aarch64-none-linux-gnu and no issues. > > Ok for master? OK, thanks. Richard > > Thanks, > Tamar > > gcc/testsuite/ChangeLog: > > * lib/target-supports.exp (check_effective_target_exceptions_enabled): > Mark as C++ test input.