From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cc-smtpout3.netcologne.de (cc-smtpout3.netcologne.de [89.1.8.213]) by sourceware.org (Postfix) with ESMTPS id 6EFAC3858D33; Mon, 23 Jan 2023 21:45:35 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6EFAC3858D33 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=netcologne.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=netcologne.de Received: from cc-smtpin1.netcologne.de (cc-smtpin1.netcologne.de [89.1.8.201]) by cc-smtpout3.netcologne.de (Postfix) with ESMTP id 1843811ED2; Mon, 23 Jan 2023 22:45:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=netcologne.de; s=nc1116a; t=1674510333; bh=Cr2B3o8vQLAl/ybmFNRq389wLLpklIaGA9qT7zMdQnw=; h=Message-ID:Date:Subject:To:References:From:In-Reply-To:From; b=FGyiRGP/BneNUw24NUFMeV9iFQG5rxo7KV3soKsZ0vdWaBuhxJ6BL/0PS7qXeS1oH EzUWZALSqnOP7Yl+7uzhot7cgKg2vM5eYHQJiG+M48HZmiWbBt4HNga/q40iZ9zV77 9ARvdODICf6Rb9JMmYL6JFWtu8Fw4XsB5eITiyVijn9ftksWgDA689GNSZwUXwygpS qa0FcnasPUlaAIZAm0v6bH+lkShx4/ghi0qVJQKenIf3JwD6S8RYjXkX4O7RIBp6qT G0Gbw97fcYKGNTIg8Sva5v9f5SE7LuKXMMDxpYE1d5aFuTo76voaoWAW2cgV2rXXKE 7p8g/eAOFcZ7A== Received: from [IPV6:2a0a:a540:2398:0:7285:c2ff:fe6c:992d] (2a0a-a540-2398-0-7285-c2ff-fe6c-992d.ipv6dyn.netcologne.de [IPv6:2a0a:a540:2398:0:7285:c2ff:fe6c:992d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by cc-smtpin1.netcologne.de (Postfix) with ESMTPSA id ADD4711D77; Mon, 23 Jan 2023 22:45:30 +0100 (CET) Message-ID: <49a49410-b69a-39bd-c515-972f59dc656b@netcologne.de> Date: Mon, 23 Jan 2023 22:45:30 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH] Fortran: fix NULL pointer dereference in gfc_check_dependency [PR108502] Content-Language: en-US To: Harald Anlauf , fortran , gcc-patches References: From: Thomas Koenig In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-NetCologne-Spam: L X-Rspamd-Queue-Id: ADD4711D77 X-Spamd-Bar: ---- X-Rspamd-Action: no action X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,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: Hi Harald, > the code in the PR demonstrates that dependency checking in the > frontend optimization was not recovering well from invalid code, > leading to a NULL pointer dereference. An easy and really obvious > fix. > > Regtested on x86_64-pc-linux-gnu. OK for mainline? Yes indeed (and I would not have minded if you had indeed committed it as obvious and simple). Thanks for the patch! Best regards Thomas