From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16705 invoked by alias); 3 Jan 2014 09:17:06 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 16683 invoked by uid 48); 3 Jan 2014 09:17:02 -0000 From: "janus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/59662] [4.9 Regression] [OOP] TBP subroutine call rejected in connection with BIND(C) Date: Fri, 03 Jan 2014 09:17:00 -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: 4.9.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: janus at gcc dot gnu.org X-Bugzilla-Status: NEW 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: bug_status cf_known_to_work keywords cf_reconfirmed_on cc everconfirmed short_desc cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-01/txt/msg00105.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59662 janus at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Known to work| |4.8.1 Keywords| |rejects-valid Last reconfirmed| |2014-01-03 CC| |janus at gcc dot gnu.org Ever confirmed|0 |1 Summary|[OOP] TBP subroutine call |[4.9 Regression] [OOP] TBP |rejected in contained |subroutine call rejected in |subroutine |connection with BIND(C) Known to fail| |4.9.0 --- Comment #1 from janus at gcc dot gnu.org --- Confirmed. There is some strange interaction with BIND(C). Reduced test case: module base_mod implicit none type outer contains procedure, nopass :: mv_to_base end type contains subroutine mv_to_base end subroutine subroutine foobar type(outer) :: a integer :: info interface integer function try() bind(c) end function end interface call a%mv_to_base() info = try() end subroutine end module