GCN, nvptx: 'sorry, unimplemented: exception handling not supported'
For GCN, this avoids ICEs further down the compilation pipeline. For nvptx, there's effectively no change: in presence of exception handling constructs, instead of 'sorry, unimplemented: target cannot support nonlocal goto', we now emit 'sorry, unimplemented: exception handling not supported'. Additionally, turn test cases into UNSUPPORTED if running into 'sorry, unimplemented: exception handling not supported'. gcc/ * config/gcn/gcn.md (exception_receiver): 'define_expand'. * config/nvptx/nvptx.md (exception_receiver): Likewise. gcc/testsuite/ * lib/gcc-dg.exp (gcc-dg-prune): Turn 'sorry, unimplemented: exception handling not supported' into UNSUPPORTED. * gcc.dg/pr104464.c: Remove GCN XFAIL. libstdc++-v3/ * testsuite/lib/prune.exp (libstdc++-dg-prune): Turn 'sorry, unimplemented: exception handling not supported' into UNSUPPORTED.
Showing
- gcc/config/gcn/gcn.md 7 additions, 0 deletionsgcc/config/gcn/gcn.md
- gcc/config/nvptx/nvptx.md 7 additions, 0 deletionsgcc/config/nvptx/nvptx.md
- gcc/testsuite/gcc.dg/pr104464.c 0 additions, 2 deletionsgcc/testsuite/gcc.dg/pr104464.c
- gcc/testsuite/lib/gcc-dg.exp 7 additions, 0 deletionsgcc/testsuite/lib/gcc-dg.exp
- libstdc++-v3/testsuite/lib/prune.exp 7 additions, 0 deletionslibstdc++-v3/testsuite/lib/prune.exp
Loading
Please register or sign in to comment