From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 648A93850409; Mon, 5 Jul 2021 22:18:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 648A93850409 From: "sandra at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/54753] assumed-rank dummies: Reject assumed-size actuals in in some cases (C535c; in F2018: C839) Date: Mon, 05 Jul 2021 22:18:04 +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: 4.8.0 X-Bugzilla-Keywords: accepts-invalid X-Bugzilla-Severity: normal X-Bugzilla-Who: sandra at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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, 05 Jul 2021 22:18:04 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D54753 sandra at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sandra at gcc dot gnu.org --- Comment #3 from sandra at gcc dot gnu.org --- I've encountered problems related to this constraint in my WIP TS29113 testsuite, too. https://gcc.gnu.org/pipermail/gcc-patches/2021-July/574115.html This is the types/c535c-*.f90 tests. The wording of the constraint is really confusing to me. I've parsed it to mean that the "it" being referred to as the subject of the requirements in = the second half of the sentence is the actual argument, not the dummy argument. c535c-1 is emitting a nonsensical diagnostic on the subroutine definition instead of meaningful diagnostics at the invalid call sites. c535c-2 is failing to produce diagnostics. c535c-3 and c535c-4 are dying with internal compiler errors. Of course it is possible that my Fortran code is buggy as well as my parsin= g of the constraint. :-S=