This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/26551] gfortran compiles recursive subroutines declared without the RECURSIVE attribute
- From: "bdtaylo1 at uiuc dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Mar 2006 21:05:51 -0000
- Subject: [Bug fortran/26551] gfortran compiles recursive subroutines declared without the RECURSIVE attribute
- References: <bug-26551-12305@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from bdtaylo1 at uiuc dot edu 2006-03-03 21:05 -------
The second example (involving a recursive call to an ENTRY statement) also
errors out on g77 (v3.4.4):
>$ g77 -ffree-form sub2.f -c
sub2.f: In subroutine `sub2':
sub2.f:2:
ENTRY ENT2()
1
sub2.f:3: (continued):
CALL ENT2()
2
Invalid declaration of or reference to symbol `ent2' at (2) [initially seen at
(1)]
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26551