From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id 439853857433 for ; Mon, 4 Jul 2022 19:09:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 439853857433 Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-584-dPc5rX4eOUegRth_RulcAQ-1; Mon, 04 Jul 2022 15:09:01 -0400 X-MC-Unique: dPc5rX4eOUegRth_RulcAQ-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id A34301C0513E; Mon, 4 Jul 2022 19:09:01 +0000 (UTC) Received: from tucnak.zalov.cz (unknown [10.39.192.30]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 5A15740D282E; Mon, 4 Jul 2022 19:09:01 +0000 (UTC) Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.17.1/8.17.1) with ESMTPS id 264J8wP11678887 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Mon, 4 Jul 2022 21:08:58 +0200 Received: (from jakub@localhost) by tucnak.zalov.cz (8.17.1/8.17.1/Submit) id 264J8vpx1678886; Mon, 4 Jul 2022 21:08:57 +0200 Date: Mon, 4 Jul 2022 21:08:57 +0200 From: Jakub Jelinek To: Tobias Burnus Cc: gcc-patches , fortran Subject: Re: [Patch] OpenMP/Fortran: Add support for OpenMP 5.2 linear clause syntax Message-ID: Reply-To: Jakub Jelinek References: <00106b18-d0f4-d449-73de-17831af2006a@codesourcery.com> <26d77b3f-2665-164d-60e8-9504af8991de@codesourcery.com> MIME-Version: 1.0 In-Reply-To: <26d77b3f-2665-164d-60e8-9504af8991de@codesourcery.com> X-Scanned-By: MIMEDefang 2.84 on 10.11.54.2 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: fortran@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Fortran mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jul 2022 19:09:06 -0000 On Mon, Jul 04, 2022 at 08:29:37PM +0200, Tobias Burnus wrote: > Fortran part to C/C++ > commit r13-1002-g03b71406323ddc065b1d7837d8b43b17e4b048b5 > > gcc/fortran/ChangeLog: > > * gfortran.h (gfc_omp_namelist): Update by creating 'linear' struct, > move 'linear_op' as 'op' to id and add 'old_modifier' to it. > * dump-parse-tree.cc (show_omp_namelist): Update accordingly. > * module.cc (mio_omp_declare_simd): Likewise. > * trans-openmp.cc (gfc_trans_omp_clauses): Likewise. > * openmp.cc (resolve_omp_clauses): Likewise; accept new-style > 'val' modifier with do/simd. > (gfc_match_omp_clauses): Handle OpenMP 5.2 linear clause syntax. > > libgomp/ChangeLog: > > * libgomp.texi (OpenMP 5.2): Mark linear-clause change as 'Y'. > > gcc/testsuite/ChangeLog: > > * c-c++-common/gomp/linear-4.c: New test. > * gfortran.dg/gomp/linear-2.f90: New test. > * gfortran.dg/gomp/linear-3.f90: New test. > * gfortran.dg/gomp/linear-4.f90: New test. > * gfortran.dg/gomp/linear-5.f90: New test. > * gfortran.dg/gomp/linear-6.f90: New test. > * gfortran.dg/gomp/linear-7.f90: New test. > * gfortran.dg/gomp/linear-8.f90: New test. Ok, thanks. Jakub