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.129.124]) by sourceware.org (Postfix) with ESMTPS id A400B385DC13 for ; Fri, 3 Jun 2022 13:41:32 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A400B385DC13 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-125-87umheWpOp6FDRrmr1um1g-1; Fri, 03 Jun 2022 09:41:29 -0400 X-MC-Unique: 87umheWpOp6FDRrmr1um1g-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id E33D23806736; Fri, 3 Jun 2022 13:41:28 +0000 (UTC) Received: from tucnak.zalov.cz (unknown [10.33.36.50]) by smtp.corp.redhat.com (Postfix) with ESMTPS id A792C2166B26; Fri, 3 Jun 2022 13:41:28 +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 253DfQZs2547799 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Fri, 3 Jun 2022 15:41:26 +0200 Received: (from jakub@localhost) by tucnak.zalov.cz (8.17.1/8.17.1/Submit) id 253DfPYo2547798; Fri, 3 Jun 2022 15:41:25 +0200 Date: Fri, 3 Jun 2022 15:41:25 +0200 From: Jakub Jelinek To: Tobias Burnus Cc: gcc-patches , fortran Subject: Re: [Patch] OpenMP/Fortran: Add support for firstprivate and allocate clauses on scope construct Message-ID: Reply-To: Jakub Jelinek References: MIME-Version: 1.0 In-Reply-To: X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit 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, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham 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: Fri, 03 Jun 2022 13:41:33 -0000 On Fri, Jun 03, 2022 at 03:37:56PM +0200, Tobias Burnus wrote: > Simple patch. Testcases based on the C/C++ commit. > For allocate, I found an unrelated bug which prevented me from adding > the associated testcase: https://gcc.gnu.org/PR105836 > > Tested on x86-64 (w/o offloading). > OK for mainline? > > Tobias > ----------------- > Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstraße 201, 80634 München; Gesellschaft mit beschränkter Haftung; Geschäftsführer: Thomas Heurung, Frank Thürauf; Sitz der Gesellschaft: München; Registergericht München, HRB 106955 > OpenMP/Fortran: Add support for firstprivate and allocate clauses on scope construct > > Fortran commit to C/C++/backend commit > r13-862-gf38b20d68fade5a922b9f68c4c3841e653d1b83c > > gcc/fortran/ChangeLog: > > * openmp.cc (OMP_SCOPE_CLAUSES): Add firstprivate and allocate. > > libgomp/ChangeLog: > > * libgomp.texi (OpenMP 5.2): Mark scope w/ firstprivate/allocate as Y. > * testsuite/libgomp.fortran/scope-2.f90: New test. > > gcc/testsuite/ChangeLog: > > * gfortran.dg/gomp/scope-5.f90: New test. > * gfortran.dg/gomp/scope-6.f90: New test. Ok, thanks. Jakub