From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.CeBiTec.Uni-Bielefeld.DE (smtp.CeBiTec.Uni-Bielefeld.DE [129.70.160.84]) by sourceware.org (Postfix) with ESMTPS id 42D79385BC23 for ; Thu, 8 Jul 2021 21:07:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 42D79385BC23 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=CeBiTec.Uni-Bielefeld.DE Authentication-Results: sourceware.org; spf=none smtp.mailfrom=cebitec.uni-bielefeld.de Received: from localhost (localhost [127.0.0.1]) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id 1B8FCAF1D6; Thu, 8 Jul 2021 23:07:37 +0200 (CEST) X-Virus-Scanned: amavisd-new at CeBiTec.Uni-Bielefeld.DE Received: from smtp.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (smtp.cebitec.uni-bielefeld.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GtLtQK8W7ram; Thu, 8 Jul 2021 23:07:36 +0200 (CEST) Received: from manam.CeBiTec.Uni-Bielefeld.DE (p50854661.dip0.t-ipconnect.de [80.133.70.97]) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPSA id 44730AEDDD; Thu, 8 Jul 2021 23:07:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=CeBiTec.Uni-Bielefeld.DE; s=20200306; t=1625778456; bh=AV9IKHW66QWwWct/wFJoNORnqbzOp76jo+cP/n13IHI=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=ht2uXkyffNt7WdD2uxWwGfmOhUYJBkEQpdiO8ScHyxlg7Fjs9zHRcKmzo8TsfTK1y UflF+1BI3ZnapLtvjKZlquxwXjbnYoMkSQDz5TlaMBD3smreqG/jG9hNr6WpGeHaHs Igcz3nms7HUTo8tg3TD6aQTDwvXgErS75jCzJZDb5sQFHGGQxoQuNXAYkPIBnCZ1ZK R7a6yubgVNeyibUaiGmQZY7n4t6/XRvIPQXp24ndOBQOvGmHlUAzNOALYYi06tZ7cv ybz9Ko9kJo0709tXxYh5TsmYp3l5E7JaIG8DUYNa4QuW5vyMwB4bJ3l07W3BjUOp1p PMWRqeS+XzHAg== From: Rainer Orth To: Martin Sebor via Gcc-patches Cc: Ian Lance Taylor , Martin Sebor Subject: Re: disable -Warray-bounds in libgo (PR 101374) References: Date: Thu, 08 Jul 2021 23:07:35 +0200 In-Reply-To: (Martin Sebor via Gcc-patches's message of "Thu, 8 Jul 2021 12:02:12 -0600") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1.90 (usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-3786.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_BARRACUDACENTRAL, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2021 21:07:43 -0000 Hi Martin, > Yesterday's enhancement to -Warray-bounds has exposed a couple of > issues in libgo where the code writes into an invalid constant > address that the warning is designed to flag. > > On the assumption that those invalid addresses are deliberate, > the attached patch suppresses these instances by using #pragma > GCC diagnostic but I don't think I'm supposed to commit it (at > least Git won't let me). To avoid Go bootstrap failures please > either apply the patch or otherwise suppress the warning (e.g., > by using a volatile pointer temporary). while this patch does fix the libgo bootstrap failure, Go is completely broken: almost 1000 go.test failures and all libgo tests FAIL as well. Seen on both i386-pc-solaris2.11 and sparc-sun-solaris2.11. Please fix. Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University