From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E36683858C66; Sun, 2 Apr 2023 15:54:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E36683858C66 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1680450868; bh=Ej2d9ScjQwkeRK4xh4FGllYirDVcSNbRQif9B/GUuRw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ZBZx8PZ3XsWSznkFCI31WbQ3zA8sxqqEhRlLd3s4AD15N2CCwI9nDIwDKnVMk3wKF GGl9ucAIZ/3XKzjacMJxUEfGuk6X9IFSw5vukoVCaydMchgoDTd5TPgaWzAbaxosv1 vBj8UXshJVBcY7K4XIolEZrTbXA7PQDF/cmg0FJM= From: "aldot at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/103931] Type name "c_ptr" is ambiguous when iso_c_binding is imported both directly and indirectly Date: Sun, 02 Apr 2023 15:54:27 +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: 10.2.1 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: aldot 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=3D103931 --- Comment #11 from Bernhard Reutner-Fischer --- (In reply to Bernhard Reutner-Fischer from comment #10) > (In reply to anlauf from comment #9) > > The reduced testcase compiles for me with today's 13-trunk, but not > > 12-branch. > > However, the full original testcase fails with varying errors depending= on > > the > > gfortran version. >=20 > Does the full testcase compile on trunk, with d7caf313525a, i assume? Both the original testcase as well as the reduced testcase from comment #2 compile fine for me with trunk from earlier today at r13-6974-g802ab7d0db5b= 5a=