From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id 760DA3857C69 for ; Thu, 7 Dec 2023 01:42:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 760DA3857C69 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=loongson.cn Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=loongson.cn ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 760DA3857C69 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2001:470:142:3::10 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1701913359; cv=none; b=W7x/euRmrkRSYWWcFQGBxh4PXMmH958USAjjde6/GDUuuyUHwjcc1JG+cHC7c6bm45ZTDUfqlxWhmHCdcztgc6iYOzY9uSgB34InrGPpvJ5Q/ZCivEDiLwY6ohjLU7MapyU4fOTJQ1f8bKwcZs37Yz3atZWaCAntR44sY8gtpGw= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1701913359; c=relaxed/simple; bh=oO7ZDp+Uz6IFIKDdJgFPji7+sylS3x0ruH8dPnwRuPI=; h=Date:From:To:Subject:Message-ID:MIME-Version; b=nsSTAUtSERzuIcCgroEgwI7G/0a7DVrpp01OAi6vIPWV1V6g4lkgDAHVYyZUc2X4nKt862WMtGRFyGSGFljLrbV57qSsNbdaWpPTmdtQuYyAy3bXFcZGfjB/cNNji+N17A6X0dlIL6VUcxewtMVdFgAghE5WNRogAd15n6of9Ls= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from mail.loongson.cn ([114.242.206.163]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rB3PP-0005Q2-2c for gcc-patches@gcc.gnu.org; Wed, 06 Dec 2023 20:42:37 -0500 Received: from loongson.cn (unknown [114.243.111.185]) by gateway (Coremail) with SMTP id _____8BxuOgII3FltH8_AA--.25492S3; Thu, 07 Dec 2023 09:42:32 +0800 (CST) Received: from rescuer (unknown [114.243.111.185]) by localhost.localdomain (Coremail) with SMTP id AQAAf8Dx+y4EI3Fl4g5XAA--.9828S2; Thu, 07 Dec 2023 09:42:29 +0800 (CST) Date: Thu, 7 Dec 2023 09:42:25 +0800 From: Yang Yujie To: Sam James Cc: Yang Yujie , Jeff Law , Florian Weimer , ro@cebitec.uni-bielefeld.de, mikestump@comcast.net, gcc-patches@gcc.gnu.org Subject: Re: [PATCH] testsuite: Adjust for the new permerror -Wincompatible-pointer-types Message-ID: References: <20231206022931.33437-1-yangyujie@loongson.cn> <871qbzcyy4.fsf@oldenburg.str.redhat.com> <87ttouhjxl.fsf@gentoo.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87ttouhjxl.fsf@gentoo.org> X-CM-TRANSID:AQAAf8Dx+y4EI3Fl4g5XAA--.9828S2 X-CM-SenderInfo: 51dqw5pxmlvqxorr0wxvrqhubq/1tbiAQASAGVv2iwMXAAAs- X-Coremail-Antispam: 1Uk129KBj93XoW7KFW8Kr15JFWrCw4fKw43CFX_yoW8urW3pF WfXasYyrWUJw1UCwnrt342qw1Fv3s5Jw4UWr1Yqr1j9F90vr9rJrWUKryYgFykWr1xWr4a vF48uFyaqr1DZrXCm3ZEXasCq-sJn29KB7ZKAUJUUUU8529EdanIXcx71UUUUU7KY7ZEXa sCq-sGcSsGvfJ3Ic02F40EFcxC0VAKzVAqx4xG6I80ebIjqfuFe4nvWSU5nxnvy29KBjDU 0xBIdaVrnRJUUUkEb4IE77IF4wAFF20E14v26r1j6r4UM7CY07I20VC2zVCF04k26cxKx2 IYs7xG6rWj6s0DM7CIcVAFz4kK6r1Y6r17M28lY4IEw2IIxxk0rwA2F7IY1VAKz4vEj48v e4kI8wA2z4x0Y4vE2Ix0cI8IcVAFwI0_Gr0_Xr1l84ACjcxK6xIIjxv20xvEc7CjxVAFwI 0_Gr0_Cr1l84ACjcxK6I8E87Iv67AKxVW8JVWxJwA2z4x0Y4vEx4A2jsIEc7CjxVAFwI0_ Gr0_Gr1UM2AIxVAIcxkEcVAq07x20xvEncxIr21l57IF6xkI12xvs2x26I8E6xACxx1l5I 8CrVACY4xI64kE6c02F40Ex7xfMcIj6xIIjxv20xvE14v26r1q6rW5McIj6I8E87Iv67AK xVWUJVW8JwAm72CE4IkC6x0Yz7v_Jr0_Gr1lF7xvr2IY64vIr41l42xK82IYc2Ij64vIr4 1l4I8I3I0E4IkC6x0Yz7v_Jr0_Gr1l4IxYO2xFxVAFwI0_Jw0_GFylx2IqxVAqx4xG67AK xVWUJVWUGwC20s026x8GjcxK67AKxVWUGVWUWwC2zVAF1VAY17CE14v26r126r1DMIIYrx kI7VAKI48JMIIF0xvE2Ix0cI8IcVAFwI0_JFI_Gr1lIxAIcVC0I7IYx2IY6xkF7I0E14v2 6r1j6r4UMIIF0xvE42xK8VAvwI8IcIk0rVWUJVWUCwCI42IY6I8E87Iv67AKxVWUJVW8Jw CI42IY6I8E87Iv6xkF7I0E14v26r1j6r4UYxBIdaVFxhVjvjDU0xZFpf9x07j0dgAUUUUU = Received-SPF: pass client-ip=114.242.206.163; envelope-from=yangyujie@loongson.cn; helo=mail.loongson.cn X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9,SPF_HELO_NONE=0.001,SPF_PASS=-0.001,T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_00,KAM_DMARC_STATUS,KAM_SHORT,RCVD_IN_BARRACUDACENTRAL,SPF_FAIL,SPF_HELO_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Thu, Dec 07, 2023 at 01:35:23AM +0000, Sam James wrote: > > Yang Yujie writes: > > > On Wed, Dec 06, 2023 at 10:45:22AM -0700, Jeff Law wrote: > >> > >> > >> On 12/6/23 05:12, Florian Weimer wrote: > >> > * Yang Yujie: > >> > > >> > > From: Yang Yujie > >> > > Subject: [PATCH] testsuite: Adjust for the new permerror > >> > > -Wincompatible-pointer-types > >> > > To: gcc-patches@gcc.gnu.org > >> > > Cc: ro@CeBiTec.Uni-Bielefeld.DE, mikestump@comcast.net, fweimer@redhat.com, > >> > > Yang Yujie > >> > > Date: Wed, 6 Dec 2023 10:29:31 +0800 (9 hours, 42 minutes, 7 seconds ago) > >> > > Message-ID: <20231206022931.33437-1-yangyujie@loongson.cn> > >> > > > >> > > r14-6037 turned -Wincompatible-pointer-types into a permerror, > >> > > which causes the following tests to fail. > >> > > > >> > > gcc/testsuite/ChangeLog: > >> > > > >> > > * gcc.dg/fixed-point/composite-type.c: replace dg-warning with dg-error. > >> > > --- > >> > > .../gcc.dg/fixed-point/composite-type.c | 64 +++++++++---------- > >> > > 1 file changed, 32 insertions(+), 32 deletions(-) > >> > > >> > Looks reasonable to me, but I can't approve it. > >> We might want to fix that from a policy standpoint :-) > >> > >> Regardless, this is OK for the trunk. Thanks Yang for taking care of it. I > >> don't see you in the maintainers file, so I'll go ahead and push it > >> momentarily. > >> > >> jeff > > > > Thanks for the review! > > > > With this patch, I also noticed a few errors in building unpatched older > > software like expect-5.45.4, perl-5.28.3 and bash-5.0. Will this also be > > the case when GCC 14 gets released? > > > > Old versions of software will need to be patched or built with > -fpermissive. We are working on fixing supported versions of software > and sending patches upstream - please do join in if you're able, as > the more help the better. > > It is normal for software to need porting to newer compilers. For > example, https://gcc.gnu.org/gcc-10/porting_to.html (-fcommon). > > > Thanks, > > Yujie > > thanks, > sam Got it, thanks. Yujie