From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30227 invoked by alias); 20 Oct 2014 20:30:29 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 30201 invoked by uid 89); 20 Oct 2014 20:30:29 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 20 Oct 2014 20:30:28 +0000 Received: from svr-orw-fem-03.mgc.mentorg.com ([147.34.97.39]) by relay1.mentorg.com with esmtp id 1XgJaz-0001YV-7l from Cesar_Philippidis@mentor.com for gcc-patches@gcc.gnu.org; Mon, 20 Oct 2014 13:30:25 -0700 Received: from [127.0.0.1] (147.34.91.1) by svr-orw-fem-03.mgc.mentorg.com (147.34.97.39) with Microsoft SMTP Server id 14.3.181.6; Mon, 20 Oct 2014 13:30:24 -0700 Message-ID: <544570DF.5030009@codesourcery.com> Date: Mon, 20 Oct 2014 20:37:00 -0000 From: Cesar Philippidis User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: "gcc-patches@gcc.gnu.org" Subject: [gomp4] acc dealloc map Content-Type: multipart/mixed; boundary="------------060004090701040801040302" X-SW-Source: 2014-10/txt/msg01973.txt.bz2 --------------060004090701040801040302 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-length: 221 All of the various OpenACC memory maps are now fully supported in GCC. This patch removes an obsolete sorry message complaining about DEALLOCATE maps not being implemented. I've committed this to gomp-4_0-branch. Cesar --------------060004090701040801040302 Content-Type: text/x-patch; name="bugfix-maps.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="bugfix-maps.diff" Content-length: 1133 2014-10-20 Cesar Philippidis gcc/ * gimplify.c (gimplify_scan_omp_clauses): Remove switch stmt which declared OMP_CLAUSE_MAP_FORCE_DEALLOC as unimplemented. (gimplify_expr): Remove OACC_WAIT, since it handled directly by the front ends. diff --git a/gcc/gimplify.c b/gcc/gimplify.c index 5a8904f..448673e 100644 --- a/gcc/gimplify.c +++ b/gcc/gimplify.c @@ -6052,17 +6052,6 @@ gimplify_scan_omp_clauses (tree *list_p, gimple_seq *pre_p, goto do_add; case OMP_CLAUSE_MAP: - switch (OMP_CLAUSE_MAP_KIND (c)) - { - case OMP_CLAUSE_MAP_FORCE_DEALLOC: - input_location = OMP_CLAUSE_LOCATION (c); - /* TODO. */ - sorry ("data clause not yet implemented"); - remove = true; - break; - default: - break; - } decl = OMP_CLAUSE_DECL (c); if (error_operand_p (decl)) { @@ -8307,7 +8296,6 @@ gimplify_expr (tree *expr_p, gimple_seq *pre_p, gimple_seq *post_p, case OACC_DECLARE: case OACC_ENTER_DATA: case OACC_EXIT_DATA: - case OACC_WAIT: case OACC_CACHE: sorry ("directive not yet implemented"); ret = GS_ALL_DONE; --------------060004090701040801040302--