From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 130B93858289; Mon, 29 Jan 2024 17:59:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 130B93858289 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1706551160; bh=mRfkNBi9F7jwPn87F4/lJcTVyNhXBGPOpxCh3RaA0/4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=OAfn0WSP0rEF6EUPK8JVfzn3mxYzo2H7mSvGn1H+JDi7BKYKFUbHT1isuuFJaoPtJ okBXDWSA7ZeyezuXKEoaXljmJ0CRPTbipFqiahtWTn1nL0z3iH87Nb/K1ztRnCY7Dw 0p7DFKQGoT+Z/vYbanH+7Gowwte0q7sdMf3zAjb4= From: "anlauf at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/113338] [F2018] Valid Code Rejected, bind(C) procedure with pointer argument Date: Mon, 29 Jan 2024 17:59:19 +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.2.1 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: anlauf 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: 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=3D113338 --- Comment #3 from anlauf at gcc dot gnu.org --- I just tried the example in comment#0 with ifort/ifx and noticed that it may be over-simplified: the contained procedure is internal and thus not visible to the external C code. The BIND attribute does not change that.=