From: Thomas Schwinge Date: Thu, 6 Feb 2025 15:14:27 +0000 (+0100) Subject: 'gcc.dg/pr88870.c': don't 'dg-require-effective-target nonlocal_goto' X-Git-Tag: basepoints/gcc-16~2115 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e602b2315f3cdf9a50441b28cabb8b204827492;p=thirdparty%2Fgcc.git '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'. --- diff --git a/gcc/testsuite/gcc.dg/pr88870.c b/gcc/testsuite/gcc.dg/pr88870.c index 81f686bd972..3f46f32f3ee 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;