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: [email protected]
ReportedBy: [email protected]
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.