[Bug fortran/48800] [4.6/4.7 Regression] ICE with non-allocatable/pointer deferred-shape array
burnus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Apr 29 21:29:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48800
--- Comment #4 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-04-29 21:26:10 UTC ---
Author: burnus
Date: Fri Apr 29 21:26:07 2011
New Revision: 173191
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173191
Log:
2011-04-29 Tobias Burnus <burnus@net-b.de>
PR fortran/48810
* resolve.c (resolve_typebound_generic_call): Don't check access
flags of the specific function.
PR fortran/48800
* resolve.c (resolve_formal_arglist): Don't change AS_DEFERRED
to AS_ASSUMED_SHAPE for function results.
(resolve_fl_var_and_proc): Print also for function results with
AS_DEFERRED an error, if they are not a pointer or allocatable.
(resolve_types): Make sure arguments of procedures in interface
blocks are resolved.
2011-04-29 Tobias Burnus <burnus@net-b.de>
PR fortran/48810
* gfortran.dg/typebound_proc_22.f90: New.
PR fortran/48800
* gfortran.dg/interface_36.f90: New.
Added:
branches/gcc-4_6-branch/gcc/testsuite/gfortran.dg/interface_36.f90
branches/gcc-4_6-branch/gcc/testsuite/gfortran.dg/typebound_proc_22.f90
Modified:
branches/gcc-4_6-branch/gcc/fortran/ChangeLog
branches/gcc-4_6-branch/gcc/fortran/resolve.c
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list