From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pip Cet Newsgroups: gmane.emacs.devel Subject: Re: scratch/igc warning Date: Wed, 26 Jun 2024 15:45:25 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1445"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org, =?utf-8?Q?Gerd_M=C3=B6llmann?= To: Andrea Corallo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jun 26 17:49:33 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sMUto-000059-GU for ged-emacs-devel@m.gmane-mx.org; Wed, 26 Jun 2024 17:49:32 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sMUta-00078x-2u; Wed, 26 Jun 2024 11:49:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sMUpz-0005Jn-P3 for emacs-devel@gnu.org; Wed, 26 Jun 2024 11:45:35 -0400 Original-Received: from mail-40133.protonmail.ch ([185.70.40.133]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sMUpx-0008SW-Fe; Wed, 26 Jun 2024 11:45:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1719416730; x=1719675930; bh=ldM8kVqmPUq7kIZfXpU83iV/TpfYUX0WwHs73iWuato=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=i0Fj7l5ESRzVLp2SKrJ9gL4c6ZmHSdlqHAAsbs4NYgpCtYC2NPK1iG9QZf46gAZFi 9QP9weeiRpdE0sqhG0+YPjmLlAZaeF8xEE8q4TkUrCJpo12HCMt+qKGOTMAalOR3c9 zwLSxi4d65Xf5HL4fKUF7nOhtQ80O9o7MYEY3D4aluUdwRUWP8Dul+6+W1Oq8rq2ZK XignR+XImxdqrDOGYpnkjo/WwzkO5FETD3RYVE82fEwHqdZZNEk7Bk9O/RlnrD+qdk kb0EmxYV2gPqhTPhRs+4z1niiT4qfpzuakH0RnkgMsB/t6zIanvXSvjTAN9TuQAbXT /V17zHOKVUCRQ== In-Reply-To: Feedback-ID: 112775352:user:proton X-Pm-Message-ID: 3cb73941b558982270f87ccdd147200999c4cbd0 Received-SPF: pass client-ip=185.70.40.133; envelope-from=pipcet@protonmail.com; helo=mail-40133.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 26 Jun 2024 11:49:12 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:320720 Archived-At: On Wednesday, June 26th, 2024 at 14:43, Andrea Corallo w= rote: > > Something in between: the code is trying to clear a struct partially by= memsetting starting from a given offset to the end of the struct. However,= it's not specific to the igc branch. >=20 >=20 > I believe it is, I don't see it in my other builds. I meant the issue, if there is one, isn't specific to the igc branch. The G= CC warning appears to be specific to allocation functions not declared with= the attributes provided by ATTRIBUTE_MALLOC_SIZE ((1)). If I remove that a= ttribute from xmalloc on the master branch and enable fortification, I see = the warning there, as well. Pip