From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id AB5AD384B104; Mon, 20 Apr 2020 15:12:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AB5AD384B104 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1587395520; bh=GSUX+yZ5GwXQtdErw2le8Q0GE8I4Po0PdoczbOWvvmE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=QKjmEIwx7fMUAWm1Tbj7kdsWEh7VP2sirrsOYu0IR3evy83t43CoXl/T8ltJs60fu OLuCsKwBaVbp2e5b6s113Q/quZECSCc1wf1pPMLWtcpCm99h10ja0Iw9AVl66PSg1f U6gzHwWLpIB5CtQR6M5sxRoLBFTxqDAjg0tci4Dw= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBmb3J0cmFuLzk0NjcyXSBbMTAgUmVncmVzc2lvbl0gZ2Zv?= =?UTF-8?B?cnRyYW4vT3Blbk1QIGNob2tlcyBvbiBQUkVTRU5UKGFycmF5KSBkZXNwaXRl?= =?UTF-8?B?IG9mIFNIQVJFRChhcnJheSk6IEVycm9yOiDigJhhcnJheeKAmSBub3Qgc3Bl?= =?UTF-8?B?Y2lmaWVkIGluIGVuY2xvc2luZyDigJhwYXJhbGxlbOKAmQ==?= Date: Mon, 20 Apr 2020 15:12:00 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: openmp X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Apr 2020 15:12:00 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D94672 --- Comment #3 from Jakub Jelinek --- Note, just making (some or all) optional PARM_DECLs predetermined shared (or firstprivate) by the langhook isn't correct, because subroutine foo (array) real, optional :: array(:) !$omp parallel default(none) ! { dg-error "enclosing" } if (.not.present (array)) stop 1 ! { dg-error "not specified in enclosing= " } !$omp end parallel end subroutine is now correctly rejected, but used to be accepts-invalid before this chang= e.=