]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/26716 (gfortran: incorrect choice of overloaded function)
authorPaul Thomas <pault@gcc.gnu.org>
Sun, 19 Mar 2006 10:36:09 +0000 (10:36 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Sun, 19 Mar 2006 10:36:09 +0000 (10:36 +0000)
commit98cb5a5439fa61ed6d27630f617514d209c7a36a
treeb16dca5ec532707c455566c5c970430026e1f61d
parent4d58f908f91b068c2a7fe2b0c6e84eed2990c2e0
re PR fortran/26716 (gfortran: incorrect choice of overloaded function)

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.

From-SVN: r112210
gcc/fortran/ChangeLog
gcc/fortran/expr.c
gcc/fortran/interface.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/assumed_shape_ranks_2.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/elemental_initializer_1.f90 [new file with mode: 0644]