From patchwork Mon Aug 19 08:56:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Torbj=C3=B6rn_SVENSSON?= X-Patchwork-Id: 1973734 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=foss.st.com header.i=@foss.st.com header.a=rsa-sha256 header.s=selector1 header.b=H+l+NBdR; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; 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 [IPv6:2620:52:3:1:0:246e:9693:128c]) (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 4WnRSq1FSyz1yf6 for ; Mon, 19 Aug 2024 19:02:51 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 0BACF3864823 for ; Mon, 19 Aug 2024 09:02:49 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mx08-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) by sourceware.org (Postfix) with ESMTPS id 05E623865C13 for ; Mon, 19 Aug 2024 08:57:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 05E623865C13 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=foss.st.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=foss.st.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 05E623865C13 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=91.207.212.93 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1724057875; cv=none; b=L5rioZ6j7p8aL/zwPd6vF6wABW3ghUA4SdfnTBC0y2UVSv2Dh5T8ibqi4k9Aw7urXbTBUgZO9Z7a12xTN3h/ryLP+BoGLYxJOgxKCPOw8wDBcDNYu8Lytr+GdQBt+3kr3LoFAQDLj80JEF55PXIWjosvMLXJWOzitMZLpbWGnsQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1724057875; c=relaxed/simple; bh=8MVnBnSkox08hoG8CP60gAbua0pJkRneXziz2ZOIgFY=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=eFpDu0LX0DgWP1Q+QIgP00NTB35noccMjuGP2gIrcM9mMDt4MkM55UVB0JT/SBb3nJp7NRFmUq7buhUbc098ATov3nRnE4NetnVchAkjJrSy0XSYBU8ZHmZPAtPhrdDvzxqkxp1cAVue1PHfXFRCchiyEdXuomi1+zNE6HmT4Vs= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from pps.filterd (m0369457.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 47J81DPu012772; Mon, 19 Aug 2024 10:57:50 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=selector1; bh= y5DA6Q8aNr/2AY/YRr6O1qPPq8Ye6dtqb9YGJ6+Bg6c=; b=H+l+NBdRB8yIUkcd Oeby1KOMqDs6K0j/HfUJnz7+yPS002vCNWab3LO5RqNdDINw54ADaokz4Z7PDf4x VBD3PsfEYojmIvhynwqaEt2PMMy1P6DSVMneBNnqGG1X6scrcViT9vSQviwzvXs6 f8bjqiS2/zHpfxawm0psRvMjgdYCVIL5ouffr68hzVzTnil1ObMIWbb4ScdVe3Zf iuTsCM94ZHqO/URmtYv7+e74Bwkn+bf4+/wy6dVyOCPZ7Jx1TOJmKccQPZqS3S0S WshmnM9XXo2bOJyRKQD+GZnr4MO1kWTcFkvWtqUh/fzUVllwl46dUjgUaL03rXOn /woxYw== Received: from beta.dmz-ap.st.com (beta.dmz-ap.st.com [138.198.100.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 414260r8tv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 19 Aug 2024 10:57:50 +0200 (MEST) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id 287B34002D; Mon, 19 Aug 2024 10:57:44 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node3.st.com [10.75.129.71]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 4131D243BF8; Mon, 19 Aug 2024 10:57:30 +0200 (CEST) Received: from jkgcxl0004.jkg.st.com (10.74.22.255) by SHFDAG1NODE3.st.com (10.75.129.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.37; Mon, 19 Aug 2024 10:57:29 +0200 From: =?utf-8?q?Torbj=C3=B6rn_SVENSSON?= To: CC: , , , =?utf-8?q?Torbj=C3=B6rn_SVENSSON?= Subject: [committed] testsuite: Prune warning about size of enums Date: Mon, 19 Aug 2024 10:56:55 +0200 Message-ID: <20240819085654.3023863-1-torbjorn.svensson@foss.st.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <6cc75caf-906d-4b5f-9ad7-787e9c55e5c4@foss.st.com> References: <6cc75caf-906d-4b5f-9ad7-787e9c55e5c4@foss.st.com> MIME-Version: 1.0 X-Originating-IP: [10.74.22.255] X-ClientProxiedBy: SHFCAS1NODE2.st.com (10.75.129.73) To SHFDAG1NODE3.st.com (10.75.129.71) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-08-19_07,2024-08-19_01,2024-05-17_01 X-Spam-Status: No, score=-12.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, GIT_PATCH_0, RCVD_IN_DNSWL_LOW, 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 Committed as obvious in r15-3017 and r14-10602. --- This fixes reported regression at https://linaro.atlassian.net/browse/GNU-1315. gcc/testsuite/ChangeLog: * g++.dg/warn/pr33738-2.C: dg-prune arm linker messages about size of enums. Signed-off-by: Torbjörn SVENSSON --- gcc/testsuite/g++.dg/warn/pr33738-2.C | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/testsuite/g++.dg/warn/pr33738-2.C b/gcc/testsuite/g++.dg/warn/pr33738-2.C index 84bbdaeecc7..1ab121893ee 100644 --- a/gcc/testsuite/g++.dg/warn/pr33738-2.C +++ b/gcc/testsuite/g++.dg/warn/pr33738-2.C @@ -1,4 +1,5 @@ // { dg-do run } +// { dg-prune-output "use of enum values across objects may fail" } // { dg-options "-O2 -Wtype-limits -fstrict-enums -fshort-enums" } extern void link_error (void);