From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3909 invoked by alias); 7 Nov 2015 12:30:25 -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 3875 invoked by uid 89); 7 Nov 2015 12:30:21 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS 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; Sat, 07 Nov 2015 12:30:20 +0000 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 1Zv2dM-0007Xb-IX from Thomas_Schwinge@mentor.com for gcc-patches@gcc.gnu.org; Sat, 07 Nov 2015 04:30:16 -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; Sat, 7 Nov 2015 12:30:15 +0000 From: Thomas Schwinge To: Cesar Philippidis , "gcc-patches@gcc.gnu.org" Subject: Re: [gomp4] backport trunk FE changes In-Reply-To: <563D384B.809@codesourcery.com> References: <563D384B.809@codesourcery.com> User-Agent: Notmuch/0.9-125-g4686d11 (http://notmuchmail.org) Emacs/24.5.1 (i586-pc-linux-gnu) Date: Sat, 07 Nov 2015 12:30:00 -0000 Message-ID: <87bnb6xa99.fsf@kepler.schwinge.homeip.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-SW-Source: 2015-11/txt/msg00789.txt.bz2 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-length: 2457 Hi! On Fri, 6 Nov 2015 15:31:23 -0800, Cesar Philippidis wrote: > I've applied this patch to gomp-4_0-branch which backports most of my > front end changes from trunk. > --- a/gcc/cp/pt.c > +++ b/gcc/cp/pt.c > @@ -14398,7 +14398,6 @@ tsubst_omp_clauses (tree clauses, bool declare_si= md, bool allow_fields, > case OMP_CLAUSE_NUM_GANGS: > case OMP_CLAUSE_NUM_WORKERS: > case OMP_CLAUSE_VECTOR_LENGTH: > - case OMP_CLAUSE_GANG: > case OMP_CLAUSE_WORKER: > case OMP_CLAUSE_VECTOR: > case OMP_CLAUSE_ASYNC: > @@ -14427,7 +14426,7 @@ tsubst_omp_clauses (tree clauses, bool declare_si= md, bool allow_fields, > =3D tsubst_omp_clause_decl (OMP_CLAUSE_DECL (oc), args, complain, > in_decl); > break; > - case OMP_CLAUSE_LINEAR: > + case OMP_CLAUSE_GANG: > case OMP_CLAUSE_ALIGNED: > OMP_CLAUSE_DECL (nc) > =3D tsubst_omp_clause_decl (OMP_CLAUSE_DECL (oc), args, complain, This -- unintentional, I suppose ;-) -- removal of OMP_CLAUSE_LINEAR caused a lot of regressions; committed to gomp-4_0-branch in r229928: commit eb7d11e41c53d5585db139e38de365fa445177b4 Author: tschwinge Date: Sat Nov 7 12:28:35 2015 +0000 Restore OMP_CLAUSE_LINEAR handling in C++ template parameter replacement =20=20=20=20 gcc/cp/ * pt.c (tsubst_omp_clauses): Handle OMP_CLAUSE_LINEAR. =20=20=20=20 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gomp-4_0-branch@2299= 28 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/cp/ChangeLog.gomp | 4 ++++ gcc/cp/pt.c | 1 + 2 files changed, 5 insertions(+) diff --git gcc/cp/ChangeLog.gomp gcc/cp/ChangeLog.gomp index 62a91d5..a7b9609 100644 --- gcc/cp/ChangeLog.gomp +++ gcc/cp/ChangeLog.gomp @@ -1,3 +1,7 @@ +2015-11-07 Thomas Schwinge + + * pt.c (tsubst_omp_clauses): Handle OMP_CLAUSE_LINEAR. + 2015-11-06 Cesar Philippidis =20 * parser.c (cp_parser_oacc_shape_clause): Allow pointers arguments to diff --git gcc/cp/pt.c gcc/cp/pt.c index 1a45d8d..4a2c02b 100644 --- gcc/cp/pt.c +++ gcc/cp/pt.c @@ -14427,6 +14427,7 @@ tsubst_omp_clauses (tree clauses, bool declare_simd= , bool allow_fields, in_decl); break; case OMP_CLAUSE_GANG: + case OMP_CLAUSE_LINEAR: case OMP_CLAUSE_ALIGNED: OMP_CLAUSE_DECL (nc) =3D tsubst_omp_clause_decl (OMP_CLAUSE_DECL (oc), args, complain, Gr=C3=BC=C3=9Fe Thomas --=-=-= Content-Type: application/pgp-signature; name="signature.asc" Content-length: 472 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJWPe7SAAoJEK3/DN1sMFFt9CgIAJxR1DNWUcKgFqMkCtbViK2J otAsvckJDCCcAfSPXT6eUTEpnKLfEUDgulz1xgtraSNtJAMIiyDpxvZ8QPGyBY40 zJnjoinx28F/dURm82ZxT+RcQ6sTou1FLOWUBQfPJ+8KUy62xKHndgu14BjgMtKU 9qq8NbvZoRYSUfpgJZ6OwFsXTqi5KCXBnJs5i/qalGRkiWbeKF3pTJ4Iwwb1F8ju u9qeKcLxjYm0hvaMg4mFJ/ILCrO61eo90Jh20lS2viY8fDTQjPcinNJB+qUR9CGy 5RlrQ6uUcltJFCdq6B0FK/LBpzjxcxt2GbYRvd8KQrJrFK3p3jKV8JM4717IYwM= =n1qh -----END PGP SIGNATURE----- --=-=-=--