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 399BF3858D28 for ; Thu, 16 Dec 2021 22:26:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 399BF3858D28 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: from reform (deer0x12.wildebeest.org [172.31.17.148]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gnu.wildebeest.org (Postfix) with ESMTPSA id 4BDC8302FBA5; Thu, 16 Dec 2021 23:26:24 +0100 (CET) Received: by reform (Postfix, from userid 1000) id 676612E806BB; Thu, 16 Dec 2021 23:26:24 +0100 (CET) Date: Thu, 16 Dec 2021 23:26:24 +0100 From: Mark Wielaard To: Marc =?iso-8859-1?Q?Nieper-Wi=DFkirchen?= Cc: jit@gcc.gnu.org Subject: Re: Memory leaks (detected by Valgrind) Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: jit@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Jit mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Dec 2021 22:26:30 -0000 On Thu, Dec 16, 2021 at 11:00:24PM +0100, Marc Nieper-Wißkirchen via Jit wrote: > Here is the Valgrind output for a debug GCC build: You have to build gcc with: configure --enable-valgrind-annotations Mark selected memory related operations in the compiler when run under valgrind to suppress false positives. Cheers, Mark