re PR fortran/37779 (Missing RECURSIVE not detected)
authorDaniel Kraft <d@domob.eu>
Mon, 24 Nov 2008 13:10:37 +0000 (14:10 +0100)
committerDaniel Kraft <domob@gcc.gnu.org>
Mon, 24 Nov 2008 13:10:37 +0000 (14:10 +0100)
commita03826d1d56e819d6e6d0bd2ce96d96a931dc370
tree6d3d651ee55170c647ffb5c2494dd04d553c5f08
parent72a2609f5d7421ab10d04b06f10e78814b0370cc
re PR fortran/37779 (Missing RECURSIVE not detected)

2008-11-24  Daniel Kraft  <d@domob.eu>

PR fortran/37779
* resolve.c (resolve_procedure_expression): New method.
(resolve_variable): Call it.
(resolve_actual_arglist): Call gfc_resolve_expr for procedure arguments.

2008-11-24  Daniel Kraft  <d@domob.eu>

PR fortran/37779
* gfortran.dg/c_funloc_tests.f03: Added missing `RECURSIVE'.
* gfortran.dg/c_funloc_tests_2.f03: Ditto.
* gfortran.dg/recursive_check_4.f03: New test.
* gfortran.dg/recursive_check_5.f03: New test.

From-SVN: r142158
gcc/fortran/ChangeLog
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/c_funloc_tests.f03
gcc/testsuite/gfortran.dg/c_funloc_tests_2.f03
gcc/testsuite/gfortran.dg/recursive_check_4.f03 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/recursive_check_5.f03 [new file with mode: 0644]