]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
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)
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

index 2171e35de9da0658b9781fbdb7765bf7356fdcff..5bc7216af67352bd62fa5486f792cd640033866e 100644 (file)
@@ -3,7 +3,6 @@
 /* { dg-do run } */
 /* { dg-options "-O2 -fexceptions" } */
 /* { dg-skip-if "" { "ia64-*-hpux11.*" } } */
-/* { dg-skip-if "" { ! nonlocal_goto } } */
 /* { dg-require-effective-target exceptions } */
 /* Verify unwind info in presence of alloca.  */
 
index 86cfae09e77ca0a0eb4ff717cbd16879304407dc..6d2adcac4300837397bfb633e2a9f0dc316a7580 100644 (file)
@@ -6,7 +6,6 @@
 /* { dg-do run } */
 /* { dg-options "-fexceptions" } */
 /* { dg-skip-if "" { "ia64-*-hpux11.*" } } */
-/* { dg-skip-if "" { ! nonlocal_goto } } */
 /* { dg-require-effective-target exceptions } */
 /* Verify DW_OP_* handling in the unwinder.  */
 
index 9ed2a7c95f5f64115d7a0c9be5f78719f2926d8a..43e8686ab2bc211aba587781a9d90e9c258b47f6 100644 (file)
@@ -2,7 +2,6 @@
 /* { dg-do run } */
 /* { dg-options "-fexceptions" } */
 /* { dg-skip-if "" { "ia64-*-hpux11.*" } } */
-/* { dg-skip-if "" { ! nonlocal_goto } } */
 /* { dg-require-effective-target exceptions } */
 /* Verify that cleanups work with exception handling.  */
 
index 3c83d4946f2745cf65f373db60ff5c84c6ac1300..a1e32ad6927329d72e4fc764029a416aa05ca0fe 100644 (file)
@@ -1,7 +1,6 @@
 /* { dg-do compile } */
 /* { dg-require-effective-target exceptions } */
 /* { dg-options "-fexceptions -fgimple -fdump-tree-eh-eh" } */
-/* { dg-require-effective-target nonlocal_goto } */
 
 void __GIMPLE foo()
 {