From patchwork Sat Jul 20 15:48:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Andrew MacLeod X-Patchwork-Id: 1962785 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=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=UUNi1QH4; 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 4WR9vY5BWPz1ySl for ; Sun, 21 Jul 2024 01:49:09 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 44AC83858C41 for ; Sat, 20 Jul 2024 15:49:07 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id 969243858C41 for ; Sat, 20 Jul 2024 15:48:43 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 969243858C41 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 969243858C41 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1721490528; cv=none; b=kQNX+cYHsPscUlZFrnPnbKAtHzEmNtX18SK0UwU0gdgxeDyv7AOhTZ3pandGWUZdXtnJYQowuRswlVzdY/oanhTaPAoWMNVMRhe+HipvKSg/4ahwdqRDWU/vSKK4pqvD9Iah4IWv3T7neSdBgeOKonqTpjxlglvHl9K0KFv8piY= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1721490528; c=relaxed/simple; bh=nc5Lfb2CqOQ3FxcM/XJaY/krISMHpEw0KLhDJrYujaw=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=Bmyw68v9c41pkkOaaBtAvHO1ZoRVUGRLyz0VvrmKgYjsISaM7HtpH3GbPpUvZd4C2rKg9r50Nc355wVufBDaln0wUTDD3l67+c367vbOMmturbfv20MefJP6Dq6OhNAibWSDzMKtHR2u4jLIcwpI/doR6bdvuPSCXVN6bnzBgAA= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1721490523; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=nc5Lfb2CqOQ3FxcM/XJaY/krISMHpEw0KLhDJrYujaw=; b=UUNi1QH4jU8mNavnjOrC2kquf77nvACRjdVLy66sY9za/qjxWlbLZSsKIh84cNJLdf6oCQ XKImCdx9aFYS9A8iF/x7OMvKVqGGOHRwiGph+cn+VOgtg7+VTmwHl3Udg8vtyF60k+c8Mu UDyi+GDSeFD83sIM3qURp+vsdLnOBfE= Received: from mail-qv1-f71.google.com (mail-qv1-f71.google.com [209.85.219.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-652-UDDzXJPoM6-GjQn6pT_cRA-1; Sat, 20 Jul 2024 11:48:40 -0400 X-MC-Unique: UDDzXJPoM6-GjQn6pT_cRA-1 Received: by mail-qv1-f71.google.com with SMTP id 6a1803df08f44-6b5e4073c5fso50935206d6.2 for ; Sat, 20 Jul 2024 08:48:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721490519; x=1722095319; h=in-reply-to:from:content-language:references:to:subject:user-agent :mime-version:date:message-id:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=I4klR7X5vZOSKwpR5szdTA6t/QsLx/19wqGUEDmSpkk=; b=wLELjiayVwOoIb/R3RK9PhVw5kNGde6VOEoXLevsEfq46zQVJZsL+ouWP3ZPBhqHBp QBGkJYRzorp6SFcLH0pMNjtOza+fWxFRFygVR+5zRfNu4ibRx+y0sIkIzGJbyT5TvcQp GH9wvzRZdtvTgQBXY5vZdI9OjeZnyELtbjSN4n7ApPm681+j99oOqQnRBKBAI6vJpv7x oFxKvk0sSb37Uwit5UZPvN7bA3UdwDatEtqTDC+ZqEFVRBDYdxiKz5WQznPrGk2eBmap 2O9JnHytKBqmpGX96J3+ytjS1G7cD0tLV5jKOwyMVn1QZJ9kYGy8TwPPP/rILGcOYr7K 1OFQ== X-Forwarded-Encrypted: i=1; AJvYcCUaT9VjxS+l3CY5Si+g9LOQbnb6EQgIZ7wP3GfrRJULvbxjQV15nkKDgqKCU6oo31dwV6jhrOW06luJu7x1A3Ic2azucD0bKw== X-Gm-Message-State: AOJu0Yys+w1/hVjoJnWPOBaz1Mp28Uh4Vyp1bLNFtGmFDpuFsjwnY9DL aorWvRY8iXfAg+Ji1ujfudcq+myj5mok6eyq0tuPQo/2XtwFrJSeaBRXSxfT+dLG3Im9XhWP2zo l6wsfQnepWSxsiQuinhtYipcJcepNAYLPgJyDF00LQ0RoQe6ZhV/zDfHGEoNdyJo= X-Received: by 2002:ad4:5bef:0:b0:6b5:d3ce:3c24 with SMTP id 6a1803df08f44-6b94f011aa9mr38798526d6.16.1721490519448; Sat, 20 Jul 2024 08:48:39 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEGp3tc9YdmO6G+NcIjXFJON7axju3aJvbt0Fm1zy99uOxbD+NKI2Y19J2U6t/b5dMorYMvWw== X-Received: by 2002:ad4:5bef:0:b0:6b5:d3ce:3c24 with SMTP id 6a1803df08f44-6b94f011aa9mr38798296d6.16.1721490518994; Sat, 20 Jul 2024 08:48:38 -0700 (PDT) Received: from ?IPV6:2605:8d80:6c1:9e15:262d:cb71:5a8d:e467? ([2605:8d80:6c1:9e15:262d:cb71:5a8d:e467]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6b7ac7d96efsm18241086d6.32.2024.07.20.08.48.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 20 Jul 2024 08:48:38 -0700 (PDT) Message-ID: Date: Sat, 20 Jul 2024 11:48:36 -0400 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: [COMMITTED] Tweak pr116003.c to target bitint. To: Sam James , gcc-patches References: <87wmlgwqn4.fsf@gentoo.org> From: Andrew MacLeod In-Reply-To: <87wmlgwqn4.fsf@gentoo.org> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US X-Spam-Status: No, score=-12.5 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, 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~incoming=patchwork.ozlabs.org@gcc.gnu.org On 7/20/24 01:58, Sam James wrote: > FAIL: gcc.dg/pr116003.c (test for excess errors) > Excess errors: > /home/tcwg-buildslave/workspace/tcwg_gnu_5/abe/snapshots/gcc.git~master/gcc/testsuite/gcc.dg/pr116003.c:4:1: sorry, unimplemented: '_BitInt(5)' is not supported on this target > /home/tcwg-buildslave/workspace/tcwg_gnu_5/abe/snapshots/gcc.git~master/gcc/testsuite/gcc.dg/pr116003.c:8:1: sorry, unimplemented: '_BitInt(129)' is not supported on this target > /home/tcwg-buildslave/workspace/tcwg_gnu_5/abe/snapshots/gcc.git~master/gcc/testsuite/gcc.dg/pr116003.c:11:5: sorry, unimplemented: '_BitInt(128)' is not supported on this target > > I think it needs dg-do compile { target bitint }. > Indeed, thanks.  Pushed. Andrew commit 320c0d49dd5d7d96443b8ee2fde3cce533eaa761 Author: Andrew MacLeod Date: Sat Jul 20 11:45:16 2024 -0400 Add bitint to options for testcase Testcase should only be for bitint targets gcc/testsuite/ * gcc.dg/pr116003.c : Add target bitint. diff --git a/gcc/testsuite/gcc.dg/pr116003.c b/gcc/testsuite/gcc.dg/pr116003.c index 6021058a14e..970b1539c48 100644 --- a/gcc/testsuite/gcc.dg/pr116003.c +++ b/gcc/testsuite/gcc.dg/pr116003.c @@ -1,4 +1,4 @@ -/* { dg-do compile } */ +/* { dg-do compile { target bitint } } */ /* { dg-options "-O2 -fnon-call-exceptions -fprofile-arcs -finstrument-functions -fno-tree-copy-prop" } */ _BitInt(5) b5;