From patchwork Sat Feb 8 12:03:11 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Schwinge X-Patchwork-Id: 106159 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id C7CC53857712 for ; Sat, 8 Feb 2025 12:04:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C7CC53857712 Authentication-Results: sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.a=rsa-sha256 header.s=20230601 header.b=jSqonKWH X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by sourceware.org (Postfix) with ESMTPS id 908D53857833 for ; Sat, 8 Feb 2025 12:03:21 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 908D53857833 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=baylibre.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 908D53857833 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::330 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1739016201; cv=none; b=ULC93QZmGyq966QfMXW2unGyVQxKhZsU1KyVE02K3+tcNc63heUyWFPWpfmv9iWLrC9I/doSu8rtcdClp7rzVG3x432dfSP4psa2/QkYi9jBLJyr6ht86zE/7GG8pXcuZ/7ZIRQoNQv5aZFW6ji0x2SZeTL6NBY4Va05fpGI+1E= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1739016201; c=relaxed/simple; bh=KAkoiTxWIyheWGos5URDZOxvmD9kbXHwgdUPe9D2ChU=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=G4DsxB6Y2saR98rC/cpdsupPaNBlgMiBODja7KA7rrLd9pf58rMBzSz7gbv9ZF2O0P+lMqtUCIjBWK1m8mTM2/HSkWdQRfNoBuGpuod4qih8UoB6D5nI2dR9FpcYj3PLQjKh4HVYaU42hLg1zclVQPTWkHNLOZ33ErED2OcgUPY= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 908D53857833 Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-43932b9b09aso3124375e9.3 for ; Sat, 08 Feb 2025 04:03:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1739016200; x=1739621000; darn=gcc.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=SDd5jeLVlbtb13FbbC8xS67JieZvl6Hjx5RoQy6ACAU=; b=jSqonKWHsWxYI2uJNFpBuAf9UB6YM9RSZENAbtXKApMT2qre+pUY+AzIFFWdltZEXh U2VskbcXAAxn9qj2SXcR7EuO9+UGdlM80y8FsNBwLyO/ytZZlZWn5xnZ2Jc9Y+EeCKkI VGtzQgCvEU7z3U5tzx92ZHUSdTq2lwtRJ2XHvSpKkKBwuxDTUclzfsuxk9TWEZojNwjQ DtHYPBB9jVZKY0/Vrj+pLoNRU7E5CYixh76bFcgquMkvK5YQS/QGsFLzcl2UmLNmmE41 LS/kUXTzgQ8JwX+PTOBk3bR9BpOIVvsjaG9TlT3nJlp6lU2kC7TKposjm2abN44jSmPa 0IPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739016200; x=1739621000; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=SDd5jeLVlbtb13FbbC8xS67JieZvl6Hjx5RoQy6ACAU=; b=UshrxDkN9AISXWaaZV8ZS7utMB3cFfdXi8+uU6JdSy2Y1k8dTd6qfrJRiNde7vJKEB VWnPOEXmZZ93FhcRzeBSDDCVVWdvudqwELBw2cDSSZKBXfBocp3/1ANITrmGmHWetjsK 0It4ILNIcWyC1n54e3v4oQ2io7S2/jsALnLwwQ8BWI9J4rS95eGlqV4JANigdUr4qFDe IZk8H7vMWxWghH7nfP8QAYQ6AOug7f1uwmTfovWBsK5LR7Chv04rb7ZBInEwZRqCPJrC zsFgUKWpX4vui1QEbPFqMOwwTLdafOFDlb2YXuiDl5nMhzhHPGS5lJbp07DgOuu+IkSg 5PEA== X-Gm-Message-State: AOJu0Yy5hjqUMwb4KIlQ+eUYtL8jStfH+01uE638zX2wbiIebq0EMNjY ox5wxp7VGLK/SJ4m9fW2SINK8teOewlJNdvDvtOdm6/ox1PL3+5/yMFeQOdbDfMsPlJYjhEqbBi RNJM= X-Gm-Gg: ASbGnctRCg5aiICekvok3+U+mH+9mxKuJnq00x64Qzn4kkSMxlfjH3BSzuSnAEltoh2 ABF0FiUQJuO6yYTDK5m6/9Zr2I2O6XOTk9lbJGGCKOTObQGUoI7c7mHV1wtgD80mINZh7+x2823 eSJZGwQIPL8QWvhEhgFDyS3hsJcLItOfGYYqS5HqajuDshqO5OC0uLCRAn+m4jk0pJJnxgXVhy3 p99pHcTjQ46uNnNBjSdGXZfiPphqMUr2UH6CzIx6niutjbgmud/dPMfH8Y6KBpGZRc33vOAp9Bx pUVwHin1uVg9YdM62lctNOGnpSY1iBRHYOqjSuLlCYWmomdBSdxprCLnuafy/W5eajPof1p+BYt vPvrFtoyDX1+BquEmF4HUJvwbVhfseHb/Ew== X-Google-Smtp-Source: AGHT+IEGVmdOJN5vuum964d4LkDe6Hr0fQjy1Wtr8K24aJ5oLjh6FdqE2bS5AJ50H+ePLLxSkTnkLw== X-Received: by 2002:a5d:47ce:0:b0:38d:bf09:aa4a with SMTP id ffacd0b85a97d-38dc8da733cmr6080318f8f.3.1739016200263; Sat, 08 Feb 2025 04:03:20 -0800 (PST) Received: from dem-tschwing-1.schwinge.ddns.net (p200300c8b71232001b2bc09369f16209.dip0.t-ipconnect.de. [2003:c8:b712:3200:1b2b:c093:69f1:6209]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38dcfd7d153sm2928136f8f.84.2025.02.08.04.03.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 Feb 2025 04:03:19 -0800 (PST) From: Thomas Schwinge To: gcc-patches@gcc.gnu.org Cc: tdevries@suse.de, jemarch@gnu.org Subject: [PUSHED] For a few test cases, clarify dependance on effective-target 'nonlocal_goto' into 'exceptions' Date: Sat, 8 Feb 2025 13:03:11 +0100 Message-Id: <20250208120311.4163679-1-tschwinge@baylibre.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-12.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces~patchwork=sourceware.org@gcc.gnu.org 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 | 1 - gcc/testsuite/gcc.dg/cleanup-13.c | 1 - gcc/testsuite/gcc.dg/cleanup-5.c | 1 - gcc/testsuite/gcc.dg/gimplefe-44.c | 1 - 4 files changed, 4 deletions(-) diff --git a/gcc/testsuite/gcc.dg/cleanup-12.c b/gcc/testsuite/gcc.dg/cleanup-12.c index 2171e35de9d..5bc7216af67 100644 --- a/gcc/testsuite/gcc.dg/cleanup-12.c +++ b/gcc/testsuite/gcc.dg/cleanup-12.c @@ -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. */ diff --git a/gcc/testsuite/gcc.dg/cleanup-13.c b/gcc/testsuite/gcc.dg/cleanup-13.c index 86cfae09e77..6d2adcac430 100644 --- a/gcc/testsuite/gcc.dg/cleanup-13.c +++ b/gcc/testsuite/gcc.dg/cleanup-13.c @@ -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. */ diff --git a/gcc/testsuite/gcc.dg/cleanup-5.c b/gcc/testsuite/gcc.dg/cleanup-5.c index 9ed2a7c95f5..43e8686ab2b 100644 --- a/gcc/testsuite/gcc.dg/cleanup-5.c +++ b/gcc/testsuite/gcc.dg/cleanup-5.c @@ -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. */ diff --git a/gcc/testsuite/gcc.dg/gimplefe-44.c b/gcc/testsuite/gcc.dg/gimplefe-44.c index 3c83d4946f2..a1e32ad6927 100644 --- a/gcc/testsuite/gcc.dg/gimplefe-44.c +++ b/gcc/testsuite/gcc.dg/gimplefe-44.c @@ -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() {