ortran compiles recursive subroutines declared without
the RECURSIVE attribute
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gc
--- 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: (c
--- Comment #7 from bdtaylo1 at uiuc dot edu 2007-01-02 21:47 ---
(In reply to comment #6)
> (The _i_initialized variable is not needed in a main program, but it is in a
> procedure.) This far it isn't a huge problem, but when 'i' is a PARAMETER it
> gets more