From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 041813858D32; Mon, 14 Nov 2022 20:46:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 041813858D32 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1668458796; bh=qSdBqI8nWuh1HUJiPqArMF9WmenSKg8wFnNn4AfmKJI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=AR2+sQDMo3SvMmj3cReQrIT5RWJYMrkrYm9Oi3Z8VuHsLWKMuhtIHjfnfx6p20PVL vOiUgJM/auk7VHmJXRGf2IMIOipkSm5pcl5gt7Sip4dGh7EKAGG1HecbMYwzqgPHPg aZovj2wLT5byBljZhD50GPWfeaP+M74iQyj+KKq0= From: "anlauf at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/107576] [10/11/12/13 Regression] ICE in gfc_conv_procedure_call, at fortran/trans-expr.cc:6193 Date: Mon, 14 Nov 2022 20:46:35 +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: 13.0 X-Bugzilla-Keywords: accepts-invalid, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: anlauf 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.5 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D107576 --- Comment #8 from anlauf at gcc dot gnu.org --- (In reply to G. Steinmetz from comment #7) > $ gfortran -c z3.f90 > z3.f90:2:10: >=20 > 2 | call s(null()) > | 1 > Error: MOLD argument to NULL required at (1) I think that error message might be fine. It seems to be related to 16.9.144 NULL() and table 16.5: Characteristics of the result of NULL ( ). This is why z3c/z2i give no error: there is an explicit interface, and 16.9.144(5) explains how this is resolved. With gfortran -fallow-argument-mismatch, we have the bad situation that the user explicitly wants to leave the space of standard conformance, and we are entering extension space, with all its problems...=