------- Comment #7 from fxcoudert at gcc dot gnu dot org 2006-05-27 09:06 ------- Subject: Bug 26551
Author: fxcoudert Date: Sat May 27 09:06:01 2006 New Revision: 114152 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114152 Log: Backports from mainline PR fortran/27552 * dump-parse-tree.c (gfc_show_expr): Deal with Hollerith constants. * data.c (create_character_intializer): Set from_H flag if character is initialized by Hollerith constant. PR fortran/27320 * dump-parse-tree.c (gfc_show_code_node): Try harder to find the called procedure name. PR fortran/26551 * resolve.c (resolve_call, resolve_function): Issue an error if a function or subroutine call is recursive but the function or subroutine wasn't declared as such. * gfortran.dg/recursive_check_1.f: New test. * gfortran.dg/recursive_check_2.f90: New test. Added: branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/recursive_check_1.f - copied unchanged from r113861, trunk/gcc/testsuite/gfortran.dg/recursive_check_1.f branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/recursive_check_2.f90 - copied unchanged from r113861, trunk/gcc/testsuite/gfortran.dg/recursive_check_2.f90 Modified: branches/gcc-4_1-branch/gcc/fortran/ChangeLog branches/gcc-4_1-branch/gcc/fortran/data.c branches/gcc-4_1-branch/gcc/fortran/dump-parse-tree.c branches/gcc-4_1-branch/gcc/fortran/resolve.c branches/gcc-4_1-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26551