public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/27613]  New: compile fails with "Unclassifiable statement" error message
@ 2006-05-15  1:09 nicolasbock at gmail dot com
  2006-05-15  1:14 ` [Bug fortran/27613] " nicolasbock at gmail dot com
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: nicolasbock at gmail dot com @ 2006-05-15  1:09 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2009-05-26  9:38 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-15  1:09 [Bug fortran/27613] New: compile fails with "Unclassifiable statement" error message nicolasbock at gmail dot com
2006-05-15  1:14 ` [Bug fortran/27613] " nicolasbock at gmail dot com
2006-05-15  6:42 ` paul dot richard dot thomas at cea dot fr
2006-05-15 13:59 ` paul dot richard dot thomas at cea dot fr
2006-05-15 16:09 ` pault at gcc dot gnu dot org
2006-05-18 14:40 ` tobi at gcc dot gnu dot org
2006-05-18 15:31 ` paul dot richard dot thomas at cea dot fr
2006-05-21 11:53 ` pault at gcc dot gnu dot org
2006-05-21 21:35 ` patchapp at dberlin dot org
2006-05-28 19:48 ` [Bug fortran/27613] compile fails with "Unclassifiable statement" error message (fixed in trunk) pault at gcc dot gnu dot org
2006-05-28 19:54 ` pault at gcc dot gnu dot org
2006-05-28 19:56 ` [Bug fortran/27613] compile fails with "Unclassifiable statement" error message pault at gcc dot gnu dot org
2009-05-19 15:45 ` theresa dot adelt at greselius dot net
2009-05-19 15:55 ` tobi at gcc dot gnu dot org
2009-05-26  9:00 ` theresa dot adelt at greselius dot net
2009-05-26  9:38 ` tobi at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).