[Bug fortran/26551] gfortran compiles recursive subroutines declared without the RECURSIVE attribute
bdtaylo1 at uiuc dot edu
gcc-bugzilla@gcc.gnu.org
Fri Mar 3 21:05:00 GMT 2006
------- 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
More information about the Gcc-bugs
mailing list