http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48279
--- Comment #14 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-04-28 18:47:31 UTC --- Author: burnus Date: Thu Apr 28 18:47:28 2011 New Revision: 173127 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173127 Log: 2011-04-28 Tobias Burnus <bur...@net-b.de> PR fortran/48112 * resolve.c (resolve_fl_var_and_proc): Print diagnostic of function results only once. (resolve_symbol): Always resolve function results. PR fortran/48279 * expr.c (gfc_check_vardef_context): Fix handling of generic EXPR_FUNCTION. * interface.c (check_interface0): Reject internal functions in generic interfaces, unless -std=gnu. 2011-04-28 Tobias Burnus <bur...@net-b.de> PR fortran/48112 Added: branches/gcc-4_6-branch/gcc/testsuite/gfortran.dg/interface_35.f90 Modified: branches/gcc-4_6-branch/gcc/fortran/ChangeLog branches/gcc-4_6-branch/gcc/fortran/expr.c branches/gcc-4_6-branch/gcc/fortran/interface.c branches/gcc-4_6-branch/gcc/fortran/resolve.c branches/gcc-4_6-branch/gcc/testsuite/ChangeLog branches/gcc-4_6-branch/gcc/testsuite/gfortran.dg/bessel_1.f90 branches/gcc-4_6-branch/gcc/testsuite/gfortran.dg/erfc_scaled_1.f90 branches/gcc-4_6-branch/gcc/testsuite/gfortran.dg/func_result_6.f90 branches/gcc-4_6-branch/gcc/testsuite/gfortran.dg/hypot_1.f90 branches/gcc-4_6-branch/gcc/testsuite/gfortran.dg/interface_assignment_4.f90 branches/gcc-4_6-branch/gcc/testsuite/gfortran.dg/proc_ptr_comp_20.f90 branches/gcc-4_6-branch/gcc/testsuite/gfortran.dg/proc_ptr_comp_21.f90