From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx-relay74-hz1.antispameurope.com (mx-relay74-hz1.antispameurope.com [94.100.133.237]) by sourceware.org (Postfix) with ESMTPS id 5042B3858D29 for ; Mon, 22 Mar 2021 06:59:49 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 5042B3858D29 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=net-b.de Authentication-Results: sourceware.org; spf=none smtp.mailfrom=prvs=0708a781d1=burnus@net-b.de Received: from s041.wsp.plusnet.de ([195.90.7.81]) by mx-relay74-hz1.antispameurope.com; Mon, 22 Mar 2021 07:59:47 +0100 Received: from [192.168.0.28] (port-92-195-152-69.dynamic.as20676.net [92.195.152.69]) by s041.wsp.plusnet.de (Postfix) with ESMTPSA id E2A7D2C03E6; Mon, 22 Mar 2021 07:59:42 +0100 (CET) Subject: Re: valgrind & f951 To: Harald Anlauf References: From: Tobias Burnus Cc: fortran Message-ID: Date: Mon, 22 Mar 2021 07:59:42 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-cloud-security-sender: burnus@net-b.de X-cloud-security-recipient: fortran@gcc.gnu.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mx-relay74-hz1.antispameurope.com with 56E37709709 X-cloud-security-connect: s041.wsp.plusnet.de[195.90.7.81], TLS=1, IP=195.90.7.81 X-cloud-security-Digest: 5d811bc5a374b4823837dc7d55603267 X-cloud-security: scantime:1.692 X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, KAM_NUMSUBJECT, KAM_SHORT, NICE_REPLY_A, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: fortran@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Fortran mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Mar 2021 06:59:51 -0000 Hi Harald, On 21.03.21 20:50, Harald Anlauf via Fortran wrote: > in order to be able to run f951 under valgrind on OpenSuse Leap 15.2, > I've already reduced the dwarf version back to 4, > +++ b/gcc/common.opt > -Common Driver Joined UInteger Var(dwarf_version) Init(5) Negative(gstabs) > +Common Driver Joined UInteger Var(dwarf_version) Init(4) Negative(gstabs) you could also just use "-g -gdwarf-4" on the command line. > {heap 4096k} MAIN__ main==29099== Conditional jump or move depends on uninitialised value(s) > ==29099== at 0xBCB62E: sparseset_bit_p (sparseset.h:146) This is a false positive; you need to configure GCC with |--enable-valgrind-annotations, see https://gcc.gnu.org/install/configure.html|I would really prefer to no do a full > bootstrap since I am interested only in the development of the Fortran-related > parts of the compiler? If you don't bootstrap, be careful about compiler warnings as the bootstrap compiler runs with -Werror in stage2 & 3. Tobias