From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from zmcc-3-mx.zmailcloud.com (zmcc-3-mx.zmailcloud.com [34.200.143.36]) by sourceware.org (Postfix) with ESMTPS id 4ABCC3858D38 for ; Wed, 10 Jan 2024 21:17:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 4ABCC3858D38 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=symas.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=symas.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 4ABCC3858D38 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=34.200.143.36 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704921455; cv=none; b=HiGiwRQ9y3VDdXj3pT4Ewx/+kw8pk3WMZap+oH+MW3K4Zf1KUdoNLNA4bXqTXaJKUgoDsC9IK2ppAnFxXhhFpdTr7rv2S0YEMr30F3XosaVz1HRd+JQ9uhxx+PO81pj/Qovru/Zi4XlzbwEDQaeEEP4b2N2ri3SB74Pb5rft58Q= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704921455; c=relaxed/simple; bh=5TMYhSlKbCsJcR/Hd2xAQyKckZXBzMIv8905FNd37FQ=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=E4mwhxRxcNAxNotFvXTFKYyyeZNgRxmQeMuVHOrifP1vfeTCBVjL7txBgu3ygsJh7KJF9nVk9S00FZFfLqhdZb4gVMoVvfrdpQg+OVCREXyXCpmVYwtvld4NlpUvF5lyBIlGSvgCWhdff8IB5AfKdm0QVjQmuGXyVgjaOc3L2MM= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from zmcc-3.zmailcloud.com (ec2-3-15-255-223.us-east-2.compute.amazonaws.com [3.15.255.223]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by zmcc-3-mx.zmailcloud.com (Postfix) with ESMTPS id F0E66C69D6; Wed, 10 Jan 2024 15:17:32 -0600 (CST) Received: from zmcc-3.zmailcloud.com (localhost [127.0.0.1]) by zmcc-3-mta-1.zmailcloud.com (Postfix) with ESMTPS id D8CC823051; Wed, 10 Jan 2024 15:17:32 -0600 (CST) Received: from localhost (localhost [127.0.0.1]) by zmcc-3-mta-1.zmailcloud.com (Postfix) with ESMTP id C9F4023054; Wed, 10 Jan 2024 15:17:32 -0600 (CST) Received: from zmcc-3.zmailcloud.com ([127.0.0.1]) by localhost (zmcc-3-mta-1.zmailcloud.com [127.0.0.1]) (amavis, port 10026) with ESMTP id lOsPsu6tbifO; Wed, 10 Jan 2024 15:17:32 -0600 (CST) Received: from zmcc-3-mailbox-1.zmailcloud.com (zmcc-3-mailbox-1.zmailcloud.com [172.31.28.18]) by zmcc-3-mta-1.zmailcloud.com (Postfix) with ESMTP id AFA3123051; Wed, 10 Jan 2024 15:17:32 -0600 (CST) From: Robert Dubner To: "Jakub Jelinek" Cc: "GCC Mailing List" References: <7b2c4b10-4134-4f1b-9597-de66d6072f16@redhat.com> <00c401da4406$2e55d300$8b017900$@symas.com> In-Reply-To: Subject: RE: I am causing valgrind errors... Thread-Topic: I am causing valgrind errors... Date: Wed, 10 Jan 2024 15:17:32 -0600 (CST) Message-ID: <016e01da440a$6d8fbff0$48af3fd0$@symas.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 16.0 X-Mailer: Zimbra 9.0.0_GA_4583 (Zimbra-ZCO/9.0.0.1939 (10.0.22621 en-US) P49d0 T45c R978) Thread-Index: AQEpFIhwnEbmYKcjMQuHG5o5Zt8nIgJ43dnvAcsoLICyE8sSwA== Content-Language: en-us X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,KAM_DMARC_STATUS,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,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 List-Id: In the words of Nick Danger: "You just saved me a lot of investigative work." Thank you so much. Bob D. -----Original Message----- From: Jakub Jelinek Sent: Wednesday, January 10, 2024 15:51 To: Robert Dubner Cc: 'GCC Mailing List' Subject: Re: I am causing valgrind errors... On Wed, Jan 10, 2024 at 02:47:08PM -0600, Robert Dubner wrote: > Here's the thing: when I run valgrind on the compilation -- not on > the executable, but on the compiler with the COBOL front end -- I am > getting a bunch of errors that look like variations of this: > > ==1232157== Command: /home/bob/repos/gcc-cobol/build/gcc/cobol1 > playpen.cbl -quiet -dumpbase > playpen.cbl -mtune=generic -march=x86-64 -ggdb -O0 -o playpen.s -cmain > ==1232157== ==1232157== Conditional jump or move depends on > uninitialised value(s) > ==1232157== at 0xABA0CB: sparseset_bit_p (sparseset.h:146) > ==1232157== by 0xABA0CB: mark_pseudo_regno_live(int) (ira-lives.cc:326) > ==1232157== by 0xABBDC0: process_bb_node_lives(ira_loop_tree_node*) That is normal and not a bug. If you want to avoid that, you need to configure the compiler with --enable-valgrind-annotations (and have valgrind development installed before you configure/build). Jakub