From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A7484385840E; Mon, 14 Nov 2022 17:29:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A7484385840E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1668446991; bh=T9MulOyMAUAbm9B+nsDpl5OVkp05Zz01SY4R/5zc/5I=; h=From:To:Subject:Date:In-Reply-To:References:From; b=QUJEYCixbFs2CnSuYBpgitfRpXe7shANHj/cCpKYobSJpojeQIAbgCdzYuTUf56MB HhfRhrWnr50KCOaCbgurDRpVsVeuKKSpI+d8I7UUKiYpQ7ZejbMHB6PkdqHBGzQrNZ l+yeUxLL2McYjmMv1E5Ia88R+VQbeO8HSWYXLK/Y= From: "gscfq@t-online.de" 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 17:29:51 +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: gscfq@t-online.de 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 #5 from G. Steinmetz --- I had in mind Fortran 2018, 15.4.2.2 Explicit interface, and therefore had added the examples z1c.f90 and z2c.f90. Some other compilers (via Compiler Explorer) show an error=20 for both z1.f90 and z2.f90 : latest flang-new : error: Semantic errors in /app/example.f90 error: Null pointer argument requires an explicit interface call s(null(z)) latest ifort/ifx : error #8615: Intrinsic NULL() is passed as actual argument. An explicit interface specifying that the corresponding dummy is pointer, allocatable or optional is required. call s(null(z)) Would be interesting what e.g. NAG and Cray say about it.=