This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/37779] New: Missing RECURSIVE not detected
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Oct 2008 07:09:13 -0000
- Subject: [Bug fortran/37779] New: Missing RECURSIVE not detected
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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