• domob's avatar
    2008-11-30 Daniel Kraft <d@domob.eu> · 4fafe6df
    domob authored
    	PR fortran/37779
    	* gfortran.h (struct gfc_entry_list): Fixed typo in comment.
    	* resolve.c (is_illegal_recursion): New method.
    	(resolve_procedure_expression): Use new is_illegal_recursion instead of
    	direct check and handle function symbols correctly.
    	(resolve_actual_arglist): Removed useless recursion check.
    	(resolve_function): Use is_illegal_recursion instead of direct check.
    	(resolve_call): Ditto.
    
    2008-11-30  Daniel Kraft  <d@domob.eu>
    
    	PR fortran/37779
    	* gfortran.dg/recursive_check_1.f: Changed expected error message to
    	the more general new one.
    	* gfortran.dg/recursive_check_2.f90: Ditto.
    	* gfortran.dg/entry_18.f90: Ditto.
    	* gfortran.dg/recursive_check_4.f03: Do "the same" check also for
    	FUNCTIONS, as this is different in details from SUBROUTINES.
    	* gfortran.dg/recursive_check_6.f03: New test.
    
    
    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@142299 138bc75d-0d04-0410-961f-82ee72b054a4
    4fafe6df
gfortran.h 73 KB