From patchwork Fri Jun 15 03:41:24 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Iyer, Balaji V" X-Patchwork-Id: 165034 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]) by ozlabs.org (Postfix) with SMTP id 9BF29B7027 for ; Fri, 15 Jun 2012 13:41:41 +1000 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1340336501; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Received:From:To:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version:Mailing-List:Precedence:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:Sender: Delivered-To; bh=X58C8zk11wESyIn929RWKlsdR0c=; b=bXMOPJRVVu5I+Sa rp9tP5EjgwB9YOwqecIWgjKAXEFYCZMD/CGi8LJyjD5B4+4iDGE8zYXDhn0/Ttwb BJZWnQmjJa9o9d50Nc3PWlQfiESm3/q31HDjbVr1ucwcdu6Th0YjiPAu9jTDWjg0 9MSfu8V23ndcKienq+QzMc0/Ght4= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:X-ExtLoop1:Received:Received:From:To:Subject:Date:Message-ID:References:In-Reply-To:Content-Type:MIME-Version:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=L8OUmu17V4sn+h5GacowgNvMbu4MHbEh2uzVcD7CManSOkm8gYMhWvs40CqMei qXi8qwtFxpW70yr1hBZ+skbQrx/xtfG9wtqtoDmzEPUmz+MMNyDltrspc+gMpwPt BTLYea4FphOjs99bECMeQQO3swWBAMRehKT3wbDIXSHVc=; Received: (qmail 15207 invoked by alias); 15 Jun 2012 03:41:38 -0000 Received: (qmail 15198 invoked by uid 22791); 15 Jun 2012 03:41:37 -0000 X-SWARE-Spam-Status: No, hits=-7.3 required=5.0 tests=AWL, BAYES_00, KHOP_RCVD_UNTRUST, KHOP_THREADED, RCVD_IN_DNSWL_HI, RCVD_IN_HOSTKARMA_W, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mga01.intel.com (HELO mga01.intel.com) (192.55.52.88) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 15 Jun 2012 03:41:26 +0000 Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP; 14 Jun 2012 20:41:25 -0700 X-ExtLoop1: 1 Received: from fmsmsx107.amr.corp.intel.com ([10.19.9.54]) by fmsmga002.fm.intel.com with ESMTP; 14 Jun 2012 20:41:25 -0700 Received: from fmsmsx102.amr.corp.intel.com ([169.254.2.223]) by FMSMSX107.amr.corp.intel.com ([169.254.9.188]) with mapi id 14.01.0355.002; Thu, 14 Jun 2012 20:41:25 -0700 From: "Iyer, Balaji V" To: "gcc-patches@gcc.gnu.org" Subject: RE: [PATCH][Cilkplus] Capturing Cilk Sync across templates Date: Fri, 15 Jun 2012 03:41:24 +0000 Message-ID: References: In-Reply-To: MIME-Version: 1.0 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 This time with the patch :-). -Balaji V. Iyer. Index: gcc/cp/pt.c =================================================================== --- gcc/cp/pt.c (revision 188641) +++ gcc/cp/pt.c (working copy) @@ -12866,6 +12866,10 @@ do_using_directive (USING_STMT_NAMESPACE (t)); break; + case SYNC_STMT: + finish_sync_stmt (false); + break; + case DECL_EXPR: { tree decl, pattern_decl; Index: gcc/cp/ChangeLog.cilk =================================================================== --- gcc/cp/ChangeLog.cilk (revision 188641) +++ gcc/cp/ChangeLog.cilk (working copy) @@ -1,3 +1,7 @@ +2012-06-14 Balaji V. Iyer + + * pt.c (tsubst_expr): Added a check for CILK_SYNC statement. + 2012-06-12 Balaji V. Iyer * cilk.c (callable): Removed a check to add LOOKUP_COMPLAIN.