[Bug fortran/26716] [4.1/4.2 regression] gfortran: incorrect choice of overloaded function
pault at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Mar 19 12:45:00 GMT 2006
------- Comment #5 from pault at gcc dot gnu dot org 2006-03-19 12:45 -------
Subject: Bug 26716
Author: pault
Date: Sun Mar 19 12:45:42 2006
New Revision: 112211
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=112211
Log:
2006-03-19 Paul Thomas <pault@gcc.gnu.org>
PR fortran/26716
*expr.c (external_spec_function): Permit elemental functions.
PR fortran/26716
*interface.c (compare_actual_formal): Detect call for procedure
usage and require rank checking, in this case, for assumed shape
and deferred shape arrays.
(gfc_procedure_use): Revert to pre-PR25070 call to
compare_actual_formal that does not require rank checking..
2006-03-19 Paul Thomas <pault@gcc.gnu.org>
PR fortran/26716
* gfortran.dg/elemental_initializer_1.f90: New test.
PR fortran/26716
* gfortran.dg/assumed_shape_ranks_2: New test.
Added:
branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/assumed_shape_ranks_2.f90
branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/elemental_initializer_1.f90
Modified:
branches/gcc-4_1-branch/gcc/fortran/ChangeLog
branches/gcc-4_1-branch/gcc/fortran/expr.c
branches/gcc-4_1-branch/gcc/fortran/interface.c
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26716
More information about the Gcc-bugs
mailing list