r173059 - in /trunk/gcc: fortran/ChangeLog fort...
burnus@gcc.gnu.org
burnus@gcc.gnu.org
Thu Apr 28 05:48:00 GMT 2011
Author: burnus
Date: Thu Apr 28 05:48:18 2011
New Revision: 173059
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173059
Log:
2011-04-28 Tobias Burnus <burnus@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 <burnus@net-b.de>
PR fortran/48112
PR fortran/48279
* gfortran.dg/interface_35.f90: New.
* gfortran.dg/erfc_scaled_1.f90: Don't compile with -pedantic.
* gfortran.dg/func_result_6.f90: Add dg-warning.
* gfortran.dg/bessel_1.f90: Ditto.
* gfortran.dg/hypot_1.f90: Ditto.
* gfortran.dg/proc_ptr_comp_20.f90: Ditto.
* gfortran.dg/proc_ptr_comp_21.f90: Ditto.
* gfortran.dg/interface_assignment_4.f90: Ditto.
Added:
trunk/gcc/testsuite/gfortran.dg/interface_35.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/expr.c
trunk/gcc/fortran/interface.c
trunk/gcc/fortran/resolve.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gfortran.dg/bessel_1.f90
trunk/gcc/testsuite/gfortran.dg/erfc_scaled_1.f90
trunk/gcc/testsuite/gfortran.dg/func_result_6.f90
trunk/gcc/testsuite/gfortran.dg/hypot_1.f90
trunk/gcc/testsuite/gfortran.dg/interface_assignment_4.f90
trunk/gcc/testsuite/gfortran.dg/proc_ptr_comp_20.f90
trunk/gcc/testsuite/gfortran.dg/proc_ptr_comp_21.f90
More information about the Gcc-cvs
mailing list