[Bug fortran/46952] New: Spurious "recursive call" error with type bound procedure

ian_harvey at bigpond dot com gcc-bugzilla@gcc.gnu.org
Wed Dec 15 02:46:00 GMT 2010


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46952

           Summary: Spurious "recursive call" error with type bound
                    procedure
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: ian_harvey@bigpond.com


Created attachment 22759
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22759
Example that generate the error

The attached, using a gfortran 4.6 from November 3 on i686-pc-mingw32,
generates the error "SUBROUTINE 'relay_proc' ... cannot be called recursively".
 But I don't think the call is recursive - relay_proc is just the interface for
what gets called, not the actual procedure.

But Intel Fortran 12.0.1.127 also complains, so maybe I'm wrong.



More information about the Gcc-bugs mailing list