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 85902385735F for ; Tue, 17 May 2022 07:40:34 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 85902385735F Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-471-c3omc7LpONeKRFuCYupOaw-1; Tue, 17 May 2022 03:40:31 -0400 X-MC-Unique: c3omc7LpONeKRFuCYupOaw-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 9655D86B8AB; Tue, 17 May 2022 07:40:30 +0000 (UTC) Received: from tucnak.zalov.cz (unknown [10.39.192.23]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 511FE1568BA7; Tue, 17 May 2022 07:40:30 +0000 (UTC) Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.16.1/8.16.1) with ESMTPS id 24H7eR8d4066241 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Tue, 17 May 2022 09:40:28 +0200 Received: (from jakub@localhost) by tucnak.zalov.cz (8.16.1/8.16.1/Submit) id 24H7eQco4066240; Tue, 17 May 2022 09:40:26 +0200 Date: Tue, 17 May 2022 09:40:26 +0200 From: Jakub Jelinek To: Tobias Burnus Cc: gcc-patches , fortran Subject: Re: [Patch] OpenMP: Add omp_all_memory support to Fortran Message-ID: Reply-To: Jakub Jelinek References: MIME-Version: 1.0 In-Reply-To: X-Scanned-By: MIMEDefang 2.85 on 10.11.54.7 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=-3.9 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, 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: Tue, 17 May 2022 07:40:35 -0000 On Fri, May 13, 2022 at 10:51:56PM +0200, Tobias Burnus wrote: > This adds omp_all_memory handling to Fortran, following C/C++ and shamelessly coping > the C testcases and adapting them to Fortran. > > OK? > > 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: Add omp_all_memory support to Fortran > > Fortran part to the C/C++/backend implementation > r13-337-g7f78783dbedca0183d193e475262ca3c489fd365 > > gcc/fortran/ChangeLog: > > * dump-parse-tree.cc (show_omp_namelist): Handle omp_all_memory. > * openmp.cc (gfc_match_omp_variable_list, gfc_match_omp_depend_sink, > gfc_match_omp_clauses, resolve_omp_clauses): Likewise. > * trans-openmp.cc (gfc_trans_omp_clauses, gfc_trans_omp_depobj): > Likewise. > * resolve.cc (resolve_symbol): Reject it as symbol. > > libgomp/ChangeLog: > > * libgomp.texi (OpenMP 5.1): Set omp_all_memory to 'Y'. > * testsuite/libgomp.fortran/depend-5.f90: New test. > * testsuite/libgomp.fortran/depend-6.f90: New test. > * testsuite/libgomp.fortran/depend-7.f90: New test. > > gcc/testsuite/ChangeLog: > > * gfortran.dg/gomp/all-memory-1.f90: New test. > * gfortran.dg/gomp/all-memory-2.f90: New test. > * gfortran.dg/gomp/all-memory-3.f90: New test. LGTM, thanks. Jakub