Message ID | mvmplwzyw4c.fsf@suse.de |
---|---|
State | Accepted |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:bc8a:b0:106:860b:bbdd with SMTP id dn10csp1238908dyb; Wed, 14 Feb 2024 06:11:29 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUAb/gEd2awmdw4udBdE2LrGQIX0PtmCNnYv+fuCOKBbqgrDRo2nWYoWnuDRLXBeD7XDIFlnSszkea0k3osfqOGWQ0azA== X-Google-Smtp-Source: AGHT+IGWZKW+js+nMYzlqtdp+zznzgCfWMRQcPCQMSyuxMTBWsRkdzyfAbB9whtW798qU6m0v262 X-Received: by 2002:a05:6214:258c:b0:68c:a83c:ca22 with SMTP id fq12-20020a056214258c00b0068ca83cca22mr3438388qvb.50.1707919889688; Wed, 14 Feb 2024 06:11:29 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707919889; cv=pass; d=google.com; s=arc-20160816; b=ZyJ9F7mSEFf5AdF5a+kAaLmXZnbrYVXG8rmhpUrFx85F2CW8O4gFd/0z4lvldt+WQA K5IyHW90xQdjBcdJHgZTWqoZTtG2r7yxEhhalu6uZEyujA4+RnUNPblG6q6kmXMpK5SG NOJoHLnqBjP+MtFP9gch2JxKKr4zRjf9oYL4RW93HgjcHacUD8ai0RwFcI5qyTVB/fgT +RhsBJdJ6ZpbiJ3FJdpCTVRzrJFtkGJSe8I6OH+oliV76By2v7fQcBn9I7nhGLIZMqiT hZUTM02hPHA5mLIbYt9hD8gp+p45IHPTDMNDiwmRKDah443cxKYCvdi89K6ATRGCnJH/ lYig== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mime-version:user-agent :message-id:date:subject:to:from:dkim-signature:dkim-signature :dkim-signature:dkim-signature:arc-filter:dmarc-filter:delivered-to; bh=P3yiPlg1VkomN+6AeZI/gw4oWPRLpTtyrkDAHfGc1u4=; fh=nqOQo0PaJ7je9SKojXjLou96lLWGmrU/uLOaOWcvoCU=; b=Xqf9deb+Uf0CNA6R5MhpFESAt+rn9o3vsVskTKN0GuBRVZb41lIXwp7zbRi+bbGuF9 JMK4cTLHZo9SVbVZc+sUa3JSBOXat0Vw+lTQm7xbXrJPAXdJapvgw3ldWSJQSYatdgdM cCDwg/+pWJCa8rCYKwpUNi0faOYPtt72FGm+ecfwbka/bF/cH+06jsx+FwddPT7BafIw 9aGkXRZYHwqKuTh0uuIP8eVUaVFmyIB3cMiaGuy0iQbp2q9kZlei55p8G9uhtWOLYtcs GNicCcEjDSeT+x5+CCRl13IKnyrUD2hEU9d9A8iUovHnBBs4QpLsonHZHcp//NCu0dT3 zc4w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=b6lVt+3n; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=b6lVt+3n; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de X-Forwarded-Encrypted: i=2; AJvYcCUFlo5aZM0as0ZstlVqqStexoyzAWwM1mYhUQ31xqYXLN2GHrclbIA1XMOEkfvdYiWfBK95AHJ/FK2YOiGN+j8zF9+B+Q== Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id z5-20020a056214040500b0068ee7e75e5esi3819789qvx.573.2024.02.14.06.11.29 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 06:11:29 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=b6lVt+3n; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=b6lVt+3n; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 66D20385E454 for <ouuuleilei@gmail.com>; Wed, 14 Feb 2024 14:11:29 +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 <gcc-patches@gcc.gnu.org>; 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 <gcc-patches@gcc.gnu.org>; 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 <schwab@suse.de> 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: <mvmplwzyw4c.fsf@suse.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain 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 <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790883806396993990 X-GMAIL-MSGID: 1790883806396993990 |
Series |
Skip gnat.dg/div_zero.adb on RISC-V
|
|
Checks
Context | Check | Description |
---|---|---|
snail/gcc-patch-check | success | Github commit url |
Commit Message
Andreas Schwab
Feb. 14, 2024, 2:10 p.m. UTC
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(-)
Comments
LGTM, thanks :) On Wed, Feb 14, 2024 at 10:11 PM Andreas Schwab <schwab@suse.de> wrote: > > 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 > -- > 2.43.1 > > > -- > Andreas Schwab, SUSE Labs, schwab@suse.de > GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 > "And now for something completely different."
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