]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
'gcc.dg/pr88870.c': don't 'dg-require-effective-target nonlocal_goto'
authorThomas Schwinge <tschwinge@baylibre.com>
Thu, 6 Feb 2025 15:14:27 +0000 (16:14 +0100)
committerThomas Schwinge <tschwinge@baylibre.com>
Sat, 8 Feb 2025 11:33:58 +0000 (12:33 +0100)
I confirm that back then, 'gcc.dg/pr88870.c' for nvptx failed due to
'sorry, unimplemented: target cannot support nonlocal goto', however at some
(indeterminate) point in time, that must've disappeared, and we now don't have
to 'dg-require-effective-target nonlocal_goto' anymore, and therefore get:

    [-UNSUPPORTED:-]{+PASS:+} gcc.dg/pr88870.c {+(test for excess errors)+}

(And, if ever necessary again, this nowadays probably should
'dg-require-effective-target exceptions' instead of 'nonlocal_goto'.)

gcc/testsuite/
* gcc.dg/pr88870.c: Don't 'dg-require-effective-target nonlocal_goto'.

gcc/testsuite/gcc.dg/pr88870.c

index 81f686bd972cd9b9b3f2c815eef3206f58170160..3f46f32f3ee9dd6d9f99764cc091f785e13e9155 100644 (file)
@@ -1,6 +1,5 @@
 /* PR rtl-optimization/88870 */
 /* { dg-do compile } */
-/* { dg-require-effective-target nonlocal_goto } */
 /* { dg-options "-O1 -fexceptions -fnon-call-exceptions -ftrapv -fno-tree-dominator-opts" } */
 
 int a, b;