]> git.ipfire.org Git - thirdparty/gcc.git/commit
For a few test cases, clarify dependance on effective-target 'nonlocal_goto' into...
authorThomas Schwinge <tschwinge@baylibre.com>
Thu, 6 Feb 2025 15:20:50 +0000 (16:20 +0100)
committerThomas Schwinge <tschwinge@baylibre.com>
Sat, 8 Feb 2025 11:37:07 +0000 (12:37 +0100)
commit7809aa1128250c9e90fde33a4fc0c88a733f8e1a
tree7878d04917533c8c45275df46b0543d58c731e22
parent2466b0b4d9bcfe51c1a049c3d7f6a8043d68630e
For a few test cases, clarify dependance on effective-target 'nonlocal_goto' into 'exceptions'

For example, for nvptx, these test cases currently indeed fail with
'sorry, unimplemented: target cannot support nonlocal goto'.  However,
that's just an artefact of non-existing support for exception handling,
and these test cases already require effective-target 'exceptions'.

gcc/testsuite/
* gcc.dg/cleanup-12.c: Don't 'dg-skip-if "" { ! nonlocal_goto }'.
* gcc.dg/cleanup-13.c: Likewise.
* gcc.dg/cleanup-5.c: Likewise.
* gcc.dg/gimplefe-44.c: Don't
'dg-require-effective-target nonlocal_goto'.
gcc/testsuite/gcc.dg/cleanup-12.c
gcc/testsuite/gcc.dg/cleanup-13.c
gcc/testsuite/gcc.dg/cleanup-5.c
gcc/testsuite/gcc.dg/gimplefe-44.c