From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 097DF3858C50; Mon, 19 Feb 2024 18:19:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 097DF3858C50 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1708366752; bh=yOMHXzgDxLP+jM1P5Qdx0YYffKtd5OAKpnhTspUuk3k=; h=From:To:Subject:Date:In-Reply-To:References:From; b=xta7gi3jKPy84o+eCsvSMYl4BjDEStBgThiIaN8gact9eFkwrEVsI9bcJRRtWQJ0I SOkqyAwX9XaUtz1cmaIW7P9SQGgJkK0V+5508eeBofeSqFAEdUhnDMThx3AGpWDYIT 8K1KWWVGCbADoyFLcDXbrFduDGx+I5DfS3T8T4Ow= From: "anlauf at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/113997] Bogus 'Warning: Interface mismatch in global procedure' with C binding Date: Mon, 19 Feb 2024 18:19:11 +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: 14.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: anlauf at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED 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=3D113997 --- Comment #4 from anlauf at gcc dot gnu.org --- (In reply to Tobias Burnus from comment #3) > > Anyway, renaming the binding label, like > > subroutine acc_attach_c(x) bind(C, name=3D"acc_attach_renamed") > > makes the code compile. >=20 > Well, the code *does* compile as it is only a warning. Right. I had an implicit -pedantic flag set... Well, one of the PRs I had in mind is pr107659.=