The following code fails to compile with the error message: In file test.f90:14
stuff = stuff+stuff(n+1) 1 Error: Unclassifiable statement at (1) The program test.f90: program test integer :: stuff write(*, *) "called stuff ", stuff(1), " times" end program test recursive function stuff(n) integer :: stuff integer :: n stuff = 1 if(n < 5) then stuff = stuff+stuff(n+1) endif end function stuff -- Summary: compile fails with "Unclassifiable statement" error message Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: nicolasbock at gmail dot com GCC build triplet: powerpc-apple-darwin8.6.0 GCC host triplet: powerpc-apple-darwin8.6.0 GCC target triplet: powerpc-apple-darwin8.6.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27613