From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 75692 invoked by alias); 2 Nov 2015 18:01:40 -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 75672 invoked by uid 89); 2 Nov 2015 18:01:38 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Mon, 02 Nov 2015 18:01:35 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (Postfix) with ESMTPS id E5DC6D9F; Mon, 2 Nov 2015 18:01:33 +0000 (UTC) Received: from tucnak.zalov.cz (ovpn-116-136.ams2.redhat.com [10.36.116.136]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id tA2I1WOR000430 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 2 Nov 2015 13:01:33 -0500 Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.15.2/8.15.2) with ESMTP id tA2I1TDB032118; Mon, 2 Nov 2015 19:01:30 +0100 Received: (from jakub@localhost) by tucnak.zalov.cz (8.15.2/8.15.2/Submit) id tA2I1SKp032117; Mon, 2 Nov 2015 19:01:28 +0100 Date: Mon, 02 Nov 2015 18:01:00 -0000 From: Jakub Jelinek To: Ilya Verbin Cc: gcc-patches@gcc.gnu.org, Kirill Yukhin Subject: Re: [gomp4.1] Handle new form of #pragma omp declare target Message-ID: <20151102180128.GL478@tucnak.redhat.com> Reply-To: Jakub Jelinek References: <20150717130559.GI1780@tucnak.redhat.com> <20151027211103.GA9097@msticlxl57.ims.intel.com> <20151030174407.GA22288@msticlxl57.ims.intel.com> <20151030191225.GG478@tucnak.redhat.com> <20151102165417.GA30423@msticlxl57.ims.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151102165417.GA30423@msticlxl57.ims.intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-IsSubscribed: yes X-SW-Source: 2015-11/txt/msg00101.txt.bz2 On Mon, Nov 02, 2015 at 07:54:17PM +0300, Ilya Verbin wrote: > Here is the patch. > make check RUNTESTFLAGS=gomp.exp and check-target-libgomp passed. > OK for gomp-4_5-branch? > > > gcc/c/ > * c-parser.c: Include context.h. > (c_parser_omp_declare_target): If decl has "omp declare target" or > "omp declare target link" attribute, and cgraph or varpool node already > exists, then set corresponding flags. > gcc/cp/ > * parser.c: Include context.h. > (cp_parser_omp_declare_target): If decl has "omp declare target" or > "omp declare target link" attribute, and cgraph or varpool node already > exists, then set corresponding flags. > libgomp/ > * testsuite/libgomp.c++/target-13.C: Add global variable with "omp > declare target ()" directive, use it in foo. > * testsuite/libgomp.c/target-28.c: Likewise. Yes, thanks. Jakub