From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) by sourceware.org (Postfix) with ESMTP id 61B8D3857C49 for ; Tue, 4 Aug 2020 12:37:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 61B8D3857C49 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-198-Hmgs8mJkPQucK23fiG9aGg-1; Tue, 04 Aug 2020 08:37:56 -0400 X-MC-Unique: Hmgs8mJkPQucK23fiG9aGg-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 121588015F3; Tue, 4 Aug 2020 12:37:55 +0000 (UTC) Received: from tucnak.zalov.cz (ovpn-113-174.ams2.redhat.com [10.36.113.174]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 97BC310023A0; Tue, 4 Aug 2020 12:37:54 +0000 (UTC) Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.15.2/8.15.2) with ESMTP id 074CbpZc014175; Tue, 4 Aug 2020 14:37:51 +0200 Received: (from jakub@localhost) by tucnak.zalov.cz (8.15.2/8.15.2/Submit) id 074Cbor3014174; Tue, 4 Aug 2020 14:37:50 +0200 Date: Tue, 4 Aug 2020 14:37:50 +0200 From: Jakub Jelinek To: Tobias Burnus Cc: gcc-patches , fortran Subject: Re: [Patch] Fortran: Fix for OpenMP's 'lastprivate(conditional:' Message-ID: <20200804123750.GC2363@tucnak> Reply-To: Jakub Jelinek References: MIME-Version: 1.0 In-Reply-To: User-Agent: Mutt/1.11.3 (2019-02-01) X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 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=-7.4 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) 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, 04 Aug 2020 12:37:59 -0000 On Tue, Aug 04, 2020 at 02:26:45PM +0200, Tobias Burnus wrote: > Follow-up to my 'lastprivate(conditional:' patch for > a left-over problem which I kind mostly missed. > Checking the dump also shows that it now works > as expected. > > OK? Ok, thanks. Note, we'll need to remove the warning when we properly implement the OpenMP 5.1 zero iterations lastprivate conditional semantics, because then there is a difference between conditional and non-conditional iterators that are never written in the loop. Assuming it passes 2nd voting today. Jakub