This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/27613] New: compile fails with "Unclassifiable statement" error message
- From: "nicolasbock at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 May 2006 01:09:48 -0000
- Subject: [Bug fortran/27613] New: compile fails with "Unclassifiable statement" error message
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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