This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/26716] [4.1/4.2 regression] gfortran: incorrect choice of overloaded function
- From: "pault at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Mar 2006 10:36:13 -0000
- Subject: [Bug fortran/26716] [4.1/4.2 regression] gfortran: incorrect choice of overloaded function
- References: <bug-26716-2736@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from pault at gcc dot gnu dot org 2006-03-19 10:36 -------
Subject: Bug 26716
Author: pault
Date: Sun Mar 19 10:36:09 2006
New Revision: 112210
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=112210
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:
trunk/gcc/testsuite/gfortran.dg/assumed_shape_ranks_2.f90
trunk/gcc/testsuite/gfortran.dg/elemental_initializer_1.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/expr.c
trunk/gcc/fortran/interface.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26716