From patchwork Mon Apr 25 11:38:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Mikael Morin X-Patchwork-Id: 53173 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 6D3493858406 for ; Mon, 25 Apr 2022 11:38:56 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtp.smtpout.orange.fr (smtp09.smtpout.orange.fr [80.12.242.131]) by sourceware.org (Postfix) with ESMTPS id 9F3BD3858D33 for ; Mon, 25 Apr 2022 11:38:35 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 9F3BD3858D33 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=orange.fr Authentication-Results: sourceware.org; spf=none smtp.mailfrom=orange.fr Received: from [192.168.1.17] ([86.253.179.215]) by smtp.orange.fr with ESMTPA id ix2vnvds4qoKwix33ncgNI; Mon, 25 Apr 2022 13:38:34 +0200 X-ME-Helo: [192.168.1.17] X-ME-Auth: MDU4MTIxYWM4YWI0ZGE4ZTUwZWZmNTExZmI2ZWZlMThkM2ZhYiE5OWRkOGM= X-ME-Date: Mon, 25 Apr 2022 13:38:34 +0200 X-ME-IP: 86.253.179.215 Message-ID: <5d85fc5c-8e06-8568-43e5-6b9273f86a76@orange.fr> Date: Mon, 25 Apr 2022 13:38:25 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0 From: Mikael Morin Subject: =?utf-8?q?=5Bpushed=5D_testsuite=3A=C2=A0add_additional_option_to_f?= =?utf-8?q?orce_DSE_execution_=5BPR103662=5D?= To: gfortran , gcc-patches References: <8541b594-57c9-f6aa-7164-3918abe67a8f@orange.fr> <88c39110-ff0f-d06b-b331-133cb5213c67@gmx.de> Content-Language: en-US In-Reply-To: <88c39110-ff0f-d06b-b331-133cb5213c67@gmx.de> X-Spam-Status: No, score=-9.4 required=5.0 tests=BAYES_00, FREEMAIL_FROM, GIT_PATCH_0, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NONE, 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: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org Sender: "Gcc-patches" I have just pushed the attached fix for two UNRESOLVED checks at -O0 that I hadn’t seen. From 6cc26f3037a18b9a958b4ac2a1363149a7fccd39 Mon Sep 17 00:00:00 2001 From: Mikael Morin Date: Mon, 25 Apr 2022 13:14:20 +0200 Subject: [pushed] =?UTF-8?q?testsuite:=C2=A0add=20additional=20option=20to?= =?UTF-8?q?=20force=20DSE=20execution=20[PR103662]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This fixes a dump tree match check that is UNRESOLVED with the -O0 optimization option, as the optimization pass corresponding to the dump file is not run at -O0, and the dump is not generated. PR fortran/103662 gcc/testsuite/ChangeLog: * gfortran.dg/unlimited_polymorphic_3.f03: Force execution of the DSE optimization pass. --- gcc/testsuite/gfortran.dg/unlimited_polymorphic_3.f03 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gfortran.dg/unlimited_polymorphic_3.f03 b/gcc/testsuite/gfortran.dg/unlimited_polymorphic_3.f03 index 780d68cdd87..4104de6ac68 100644 --- a/gcc/testsuite/gfortran.dg/unlimited_polymorphic_3.f03 +++ b/gcc/testsuite/gfortran.dg/unlimited_polymorphic_3.f03 @@ -1,5 +1,5 @@ ! { dg-do run } -! { dg-additional-options "-fdump-tree-dse-details" } +! { dg-additional-options "-ftree-dse -fdump-tree-dse-details" } ! ! Check that pointer assignments allowed by F2003:C717 ! work and check null initialization of CLASS(*) pointers. -- 2.35.1