public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/37779]  New: Missing RECURSIVE not detected
@ 2008-10-09  7:10 burnus at gcc dot gnu dot org
  2008-11-15  8:32 ` [Bug fortran/37779] " domob at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: burnus at gcc dot gnu dot org @ 2008-10-09  7:10 UTC (permalink / raw)
  To: gcc-bugs

Found at
http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/70dd268bac2af9c9

The following program should be rejected as NAG f95,
  Error: line 4: Subroutine FOO is not RECURSIVE
, and ifort,
  error #6437: A subroutine or function is calling itself recursively.   [FOO]
, do.

      subroutine foo(x)
      real, intent(in) :: x

      call bar(x,foo)

      return
      end subroutine foo


-- 
           Summary: Missing RECURSIVE not detected
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Keywords: accepts-invalid
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: burnus at gcc dot gnu dot org


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


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

end of thread, other threads:[~2008-12-01  7:28 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-09  7:10 [Bug fortran/37779] New: Missing RECURSIVE not detected burnus at gcc dot gnu dot org
2008-11-15  8:32 ` [Bug fortran/37779] " domob at gcc dot gnu dot org
2008-11-22 19:04 ` burnus at gcc dot gnu dot org
2008-11-22 21:42 ` burnus at gcc dot gnu dot org
2008-11-24 13:13 ` domob at gcc dot gnu dot org
2008-11-30 20:38 ` domob at gcc dot gnu dot org
2008-11-30 20:41 ` domob at gcc dot gnu dot org
2008-12-01  7:28 ` domob 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).