From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca (simark.ca [158.69.221.121]) by sourceware.org (Postfix) with ESMTPS id 02CF63858016 for ; Thu, 12 May 2022 00:49:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 02CF63858016 Received: from [10.0.0.11] (192-222-157-6.qc.cable.ebox.net [192.222.157.6]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPSA id 8C8031E00D; Wed, 11 May 2022 20:49:22 -0400 (EDT) Message-ID: Date: Wed, 11 May 2022 20:49:22 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Subject: Re: [PATCH] gdb: Workaround stringop-overread warning in debuginfod-support.c on powerpc64 Content-Language: en-US To: Mark Wielaard , gdb-patches@sourceware.org References: <20220511225219.119067-1-mark@klomp.org> From: Simon Marchi In-Reply-To: <20220511225219.119067-1-mark@klomp.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_NUMSUBJECT, NICE_REPLY_A, SPF_HELO_PASS, 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: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 May 2022 00:49:24 -0000 On 2022-05-11 18:52, Mark Wielaard wrote: > Just like on s390x with g++ 11.2.1, ppc64le with g++ 11.3.1 produces a > spurious warning for stringop-overread in debuginfod_is_enabled > for url_view. Also suppress it on powerpc64. > > gdb/ChangeLog: > > * debuginfod-support.c (debuginfod_is_enabled): Use > DIAGNOSTIC_IGNORE_STRINGOP_OVERREAD on powerpc64. LGTM. > --- > > Found with the new fedora-ppc64le builder: > https://builder.sourceware.org/buildbot/#/builders/gdb-fedora-ppc64le > > Alternatively we could just suppress this warning for any architecture. Let's make a deal, if you find a 3rd architecture where this is the case we do that, alright? ;) Simon