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 596163858D32 for ; Mon, 23 Jan 2023 16:17:18 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 596163858D32 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=simark.ca Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=simark.ca Received: from [10.0.0.11] (unknown [217.28.27.60]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by simark.ca (Postfix) with ESMTPSA id E91F81E0D3; Mon, 23 Jan 2023 11:17:17 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=simark.ca; s=mail; t=1674490638; bh=LE9fDRvSWn8JS8gzRRGqqAC3A/6DpNrTCXSpiTwz9ZY=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=vU3f1HBPu+4qqosYhsQPGdp+a9BFkbafKqMT90xQIIl/lf2U0/yxmI0gGH2Y3sUPJ dcLKx4rj9xkhJgwr6I/Qc/u9ujIE8rrgUBGzHcHdUrYgIi7toN+mCdnn9e8T9ik9jl H/LxpHUKy/jm1qLiodVp4UA7GqAwuyEld6YqbK7g= Message-ID: Date: Mon, 23 Jan 2023 11:17:17 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [PATCH] gdb: Ignore some stringop-overflow and restrict warnings on sparc Content-Language: en-US To: Mark Wielaard , gdb-patches@sourceware.org Cc: Sam James References: <20230115005153.872624-1-mark@klomp.org> From: Simon Marchi In-Reply-To: <20230115005153.872624-1-mark@klomp.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 1/14/23 19:51, Mark Wielaard wrote: > For some reason g++ 11.2.1 on s390x produces a spurious warning for > stringop-overread and restruct in fsb-tdep.c for some memcpy calls. fsb -> fbsd restruct -> restrict > 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? Simon