Dimitar Dimitrov <dimi...@dinux.eu> writes: > A few tests started failing recently on pru-unknown-elf because it uses > SJLJ implementation for exceptions: > FAIL: g++.dg/ext/musttail3.C -std=c++11 (test for excess errors) > .../gcc/gcc/testsuite/g++.dg/ext/musttail3.C:12:34: error: cannot > tail-call: caller uses sjlj exceptions > > Fix by disabling those tests if target uses SJLJ for implementing > exceptions. > > Ensured that test results with and without this patch for > x86_64-pc-linux-gnu are the same. > > Ok for trunk?
I would rather make it XFAIL and also open a PR, after all it is a limitation that could (and should) be fixed. As more and more software uses musttail it will hurt those targets eventually. -Andi