From patchwork Wed Feb 14 14:10:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Schwab X-Patchwork-Id: 1898956 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=b6lVt+3n; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=OTZoFDWo; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=b6lVt+3n; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=OTZoFDWo; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=8.43.85.97; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TZg8s6RFqz23j8 for ; Thu, 15 Feb 2024 01:11:09 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 745B5385E019 for ; Wed, 14 Feb 2024 14:11:07 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2a07:de40:b251:101:10:150:64:2]) by sourceware.org (Postfix) with ESMTPS id 29DA5385E004 for ; Wed, 14 Feb 2024 14:10:44 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 29DA5385E004 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.de ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 29DA5385E004 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a07:de40:b251:101:10:150:64:2 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1707919846; cv=none; b=xBPRouFQ9lrObdRTQbU9JVXSObX7Bv4WXZUGbgdmdjpuLCIkV56PiOIsHLJfpDUn5CN4GKBybHmATE9dhK7xUGRO+c0+G3TU4rpUWot88FoYPgvFmEi/nu4zc7WTKE6bQumJrdxZPqxqnVsykQkNARPwgg6xH7wK72rbVqNgizU= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1707919846; c=relaxed/simple; bh=ThBrtYBxb3WL3tkq13JIfa3pRLf4rSD4e8081+k8M7o=; h=DKIM-Signature:DKIM-Signature:DKIM-Signature:DKIM-Signature:From: To:Subject:Date:Message-ID:MIME-Version; b=uCVvrum0b6E5Dmd8UQR/vzIL4sTvqdBABBRNE4ILIBUB1LoxSp6iXQcB+r5kTx+/AcpXkT5xrcTCZCS8tynCQrYIWXBl4dQ5niaBGjUICaFcqNnwdrci+uMk+BJ1c3p4XCm1tvtxWRVWGPXEJ8BsiYF8cBilyPVNj91+C+/Fogg= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from hawking.nue2.suse.org (unknown [10.168.4.11]) by smtp-out2.suse.de (Postfix) with ESMTP id 4168E1FD18 for ; Wed, 14 Feb 2024 14:10:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1707919843; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type; bh=P3yiPlg1VkomN+6AeZI/gw4oWPRLpTtyrkDAHfGc1u4=; b=b6lVt+3nHjmKCloJk4Y01YyJkRLP/21PWWURqYeX8C/HLdvrA+oyw+qrMVrxWx/pXW/gLl bqOQCZWX9nf/wnMSh1jswneMPvmxHU6jbEXFrm8QNfdgcbqGF4j5xqfVrAhN5guGLZHwgr lvcZ9e3p7He8Xc1OwStfoE3ImDeIJ6E= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1707919843; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type; bh=P3yiPlg1VkomN+6AeZI/gw4oWPRLpTtyrkDAHfGc1u4=; b=OTZoFDWovv8fLi13QVDUO5XZetWZ6c7rVFmjJTCVHnr/NyPZmKFhYUy8YWK+Hf9VD2IDcX GlOsaofuawg32sBw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1707919843; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type; bh=P3yiPlg1VkomN+6AeZI/gw4oWPRLpTtyrkDAHfGc1u4=; b=b6lVt+3nHjmKCloJk4Y01YyJkRLP/21PWWURqYeX8C/HLdvrA+oyw+qrMVrxWx/pXW/gLl bqOQCZWX9nf/wnMSh1jswneMPvmxHU6jbEXFrm8QNfdgcbqGF4j5xqfVrAhN5guGLZHwgr lvcZ9e3p7He8Xc1OwStfoE3ImDeIJ6E= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1707919843; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type; bh=P3yiPlg1VkomN+6AeZI/gw4oWPRLpTtyrkDAHfGc1u4=; b=OTZoFDWovv8fLi13QVDUO5XZetWZ6c7rVFmjJTCVHnr/NyPZmKFhYUy8YWK+Hf9VD2IDcX GlOsaofuawg32sBw== Received: by hawking.nue2.suse.org (Postfix, from userid 17005) id 2C7054A04EC; Wed, 14 Feb 2024 15:10:43 +0100 (CET) From: Andreas Schwab To: gcc-patches@gcc.gnu.org Subject: [PATCH] Skip gnat.dg/div_zero.adb on RISC-V X-Yow: I demand IMPUNITY! Date: Wed, 14 Feb 2024 15:10:43 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Authentication-Results: smtp-out2.suse.de; none X-Spamd-Result: default: False [-2.65 / 50.00]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; DBL_BLOCKED_OPENRESOLVER(0.00)[suse.de:email]; FUZZY_BLOCKED(0.00)[rspamd.com]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; BAYES_HAM(-2.55)[97.97%] X-Spam-Level: X-Spam-Score: -2.65 X-Spam-Status: No, score=-9.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE 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+incoming=patchwork.ozlabs.org@gcc.gnu.org Like AArch64 and POWER, RISC-V does not support trap on zero divide. gcc/testsuite/ * gnat.dg/div_zero.adb: Skip on RISC-V. --- gcc/testsuite/gnat.dg/div_zero.adb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gnat.dg/div_zero.adb b/gcc/testsuite/gnat.dg/div_zero.adb index dedf3928db7..fb1c98caeff 100644 --- a/gcc/testsuite/gnat.dg/div_zero.adb +++ b/gcc/testsuite/gnat.dg/div_zero.adb @@ -1,5 +1,5 @@ -- { dg-do run } --- { dg-skip-if "divide does not trap" { aarch64*-*-* powerpc*-*-* } } +-- { dg-skip-if "divide does not trap" { aarch64*-*-* powerpc*-*-* riscv*-*-* } } -- This test requires architecture- and OS-specific support code for unwinding -- through signal frames (typically located in *-unwind.h) to pass. Feel free