From patchwork Mon Nov 9 08:38:08 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Thomas Schwinge X-Patchwork-Id: 541657 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id B04D81402C6 for ; Mon, 9 Nov 2015 19:38:45 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=jouAmjv9; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type; q=dns; s=default; b=lHFgokNfEKK4OXsy KuYmCmR/Ck4Zgxgz7MDRvMjvC6YhaCv0iw2LRkiSCbE6B15TS6lVSdmKeXhEiseb +uOMbtqOw9iuOtfGt7J9P2CyOSByBwN+4TSQxYYLAK312BcbvdI8o/8kaP4DnN5B OTmvKqI5vxJm8sh5go7F7O3bZpM= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=default; bh=OxSAqjHNbTU2GYS5/zpZ3G +8f9c=; b=jouAmjv9DnPyOdkxkvSuEvA6pKg00DouzQyu+/rdPzZ4xpSNbsZjbb xlNVNNVCw7KIZwGJbWQAsPE8qYhW2yhDSN466zymTS0m6Ostsew6Rqng5MZxT+4t 2wJavQ448oURp6HpO2Mydmgs3op3T3m5lmZJwq1c4PwaOXsDTe7Lg= Received: (qmail 46460 invoked by alias); 9 Nov 2015 08:38:37 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 46446 invoked by uid 89); 9 Nov 2015 08:38:36 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 X-HELO: fencepost.gnu.org Received: from fencepost.gnu.org (HELO fencepost.gnu.org) (208.118.235.10) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Mon, 09 Nov 2015 08:38:35 +0000 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38090) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ZvhyC-0003Cl-LG for gcc-patches@gnu.org; Mon, 09 Nov 2015 03:38:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zvhy7-00021S-5l for gcc-patches@gnu.org; Mon, 09 Nov 2015 03:38:32 -0500 Received: from relay1.mentorg.com ([192.94.38.131]:49982) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zvhy6-0001yQ-WC for gcc-patches@gnu.org; Mon, 09 Nov 2015 03:38:27 -0500 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=SVR-IES-FEM-01.mgc.mentorg.com) by relay1.mentorg.com with esmtp id 1Zvhy4-00031k-6q from Thomas_Schwinge@mentor.com ; Mon, 09 Nov 2015 00:38:24 -0800 Received: from feldtkeller.schwinge.homeip.net (137.202.0.76) by SVR-IES-FEM-01.mgc.mentorg.com (137.202.0.104) with Microsoft SMTP Server id 14.3.224.2; Mon, 9 Nov 2015 08:38:23 +0000 From: Thomas Schwinge To: Tom de Vries , "gcc-patches@gnu.org" CC: Jakub Jelinek Subject: Re: [gomp4, committed] Remove superfluous pass_expand_omp_ssa In-Reply-To: <563FC5FF.8050307@mentor.com> References: <563FC5FF.8050307@mentor.com> User-Agent: Notmuch/0.9-125-g4686d11 (http://notmuchmail.org) Emacs/24.5.1 (i586-pc-linux-gnu) Date: Mon, 9 Nov 2015 09:38:08 +0100 Message-ID: <87twovwosv.fsf@kepler.schwinge.homeip.net> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Windows NT kernel [generic] [fuzzy] X-Received-From: 192.94.38.131 Hi! On Sun, 8 Nov 2015 23:00:31 +0100, Tom de Vries wrote: > This patch removes a superfluous pass_expand_omp_ssa. [...] > --- a/gcc/passes.def > +++ b/gcc/passes.def > @@ -122,7 +122,6 @@ along with GCC; see the file COPYING3. If not see > late. */ > NEXT_PASS (pass_split_functions); > POP_INSERT_PASSES () > - NEXT_PASS (pass_expand_omp_ssa); > NEXT_PASS (pass_release_ssa_names); > NEXT_PASS (pass_rebuild_cgraph_edges); > NEXT_PASS (pass_inline_parameters); Committed to gomp-4_0-branch in r229994: commit 38d123c26f4b1f53258742fd285df2a128150159 Author: tschwinge Date: Mon Nov 9 08:36:54 2015 +0000 Adjust test case for removed pass_expand_omp_ssa gcc/testsuite/ * gcc.dg/gomp/notify-new-function-3.c: Scan "ompexpssa2" instead of "ompexpssa3". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gomp-4_0-branch@229994 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/testsuite/ChangeLog.gomp | 5 +++++ gcc/testsuite/gcc.dg/gomp/notify-new-function-3.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) Grüße Thomas diff --git gcc/testsuite/ChangeLog.gomp gcc/testsuite/ChangeLog.gomp index a300e38..22f1c74 100644 --- gcc/testsuite/ChangeLog.gomp +++ gcc/testsuite/ChangeLog.gomp @@ -1,3 +1,8 @@ +2015-11-09 Thomas Schwinge + + * gcc.dg/gomp/notify-new-function-3.c: Scan "ompexpssa2" instead + of "ompexpssa3". + 2015-11-08 Tom de Vries * g++.dg/tree-ssa/copyprop-1.C: Update for extra pass_dce in pass list. diff --git gcc/testsuite/gcc.dg/gomp/notify-new-function-3.c gcc/testsuite/gcc.dg/gomp/notify-new-function-3.c index c3d097e..033a407 100644 --- gcc/testsuite/gcc.dg/gomp/notify-new-function-3.c +++ gcc/testsuite/gcc.dg/gomp/notify-new-function-3.c @@ -11,4 +11,4 @@ foo (int *__restrict a, int *__restrict b, int *__restrict c) /* Check for new function notification in ompexpssa dump. */ -/* { dg-final { scan-tree-dump-times "Added new ssa gimple function foo\\.\[\\\$_\]loopfn\\.0 to callgraph" 1 "ompexpssa3" } } */ +/* { dg-final { scan-tree-dump-times "Added new ssa gimple function foo\\.\[\\\$_\]loopfn\\.0 to callgraph" 1 "ompexpssa2" } } */