http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56968
janus at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #11 from janus at gcc dot gnu.org 2013-04-26 22:30:41 UTC ---
Fixed on the 4.7 branch with:
Author: janus
Date: Fri Apr 26 22:26:02 2013
New Revision: 198348
URL: http://gcc.gnu.org/viewcvs?rev=198348&root=gcc&view=rev
Log:
2013-04-26 Janus Weil <[email protected]>
Backports from trunk:
PR fortran/56968
* expr.c (gfc_check_pointer_assign): Handle generic functions returning
procedure pointers.
PR fortran/53685
PR fortran/57022
* check.c (gfc_calculate_transfer_sizes): Fix for array-valued SOURCE
expressions.
* target-memory.h (gfc_element_size): New prototype.
* target-memory.c (size_array): Remove.
(gfc_element_size): New function.
(gfc_target_expr_size): Modified to always return the full size of the
expression.
2013-04-26 Janus Weil <[email protected]>
Backports from trunk:
PR fortran/56968
* gfortran.dg/proc_ptr_41.f90: New.
PR fortran/53685
PR fortran/57022
* gfortran.dg/transfer_check_4.f90: New.
Added:
branches/gcc-4_7-branch/gcc/testsuite/gfortran.dg/proc_ptr_41.f90
branches/gcc-4_7-branch/gcc/testsuite/gfortran.dg/transfer_check_4.f90
Modified:
branches/gcc-4_7-branch/gcc/fortran/ChangeLog
branches/gcc-4_7-branch/gcc/fortran/check.c
branches/gcc-4_7-branch/gcc/fortran/expr.c
branches/gcc-4_7-branch/gcc/fortran/target-memory.c
branches/gcc-4_7-branch/gcc/fortran/target-memory.h
branches/gcc-4_7-branch/gcc/testsuite/ChangeLog
Closing. Thanks for the report!