From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gnu.wildebeest.org (gnu.wildebeest.org [45.83.234.184]) by sourceware.org (Postfix) with ESMTPS id 90E1E3858D33 for ; Tue, 24 Jan 2023 00:42:46 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 90E1E3858D33 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=klomp.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=klomp.org Received: by gnu.wildebeest.org (Postfix, from userid 1000) id B38B3302BBEC; Tue, 24 Jan 2023 01:42:45 +0100 (CET) Date: Tue, 24 Jan 2023 01:42:45 +0100 From: Mark Wielaard To: Simon Marchi Cc: gdb-patches@sourceware.org, Sam James Subject: Re: [PATCH] gdb: Ignore some stringop-overflow and restrict warnings on sparc Message-ID: <20230124004245.GC11538@gnu.wildebeest.org> References: <20230115005153.872624-1-mark@klomp.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, score=-3031.9 required=5.0 tests=BAYES_00,JMQ_SPF_NEUTRAL,KAM_DMARC_STATUS,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hi Simon, On Mon, Jan 23, 2023 at 11:17:17AM -0500, Simon Marchi wrote: > > > On 1/14/23 19:51, Mark Wielaard wrote: > > stringop-overread and restruct in fsb-tdep.c for some memcpy calls. > > fsb -> fbsd > restruct -> restrict Gah, so many typos, apologies. Fixed. > > Add new DIAGNOSTIC_IGNORE_STRINGOP_OVERFLOW and > > DIAGNOSTIC_IGNORE_RESTRICT macro to suppress these warning. > > Can you please put examples of the diagnostics it gets rid of in the > commit message? Added. I'll sent a V2 with the updated commit message. Thanks, Mark