From 0e602b2315f3cdf9a50441b28cabb8b204827492 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Thu, 6 Feb 2025 16:14:27 +0100 Subject: [PATCH] 'gcc.dg/pr88870.c': don't 'dg-require-effective-target nonlocal_goto' 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 | 1 - 1 file changed, 1 deletion(-) diff --git a/gcc/testsuite/gcc.dg/pr88870.c b/gcc/testsuite/gcc.dg/pr88870.c index 81f686bd972c..3f46f32f3ee9 100644 --- a/gcc/testsuite/gcc.dg/pr88870.c +++ b/gcc/testsuite/gcc.dg/pr88870.c @@ -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; -- 2.47.2