aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp
diff options
context:
space:
mode:
authorPaul Thomas <pault@gcc.gnu.org>2006-06-01 04:35:38 +0000
committerPaul Thomas <pault@gcc.gnu.org>2006-06-01 04:35:38 +0000
commit699fa7aa1a796f815f01518b0ab622e8f478c7dc (patch)
tree267121ad7ae5eb38b1baf53d34e58374d138a47e /gcc/cp
parent86ce18257fad5bf1c86294b4ca1c20057ed5f50e (diff)
downloadgcc-699fa7aa1a796f815f01518b0ab622e8f478c7dc.zip
gcc-699fa7aa1a796f815f01518b0ab622e8f478c7dc.tar.gz
gcc-699fa7aa1a796f815f01518b0ab622e8f478c7dc.tar.bz2
re PR fortran/25098 (Variable as actual argument for procedure dummy argument allowed)
2006-06-01 Paul Thomas <pault@gcc.gnu.org> PR fortran/25098 PR fortran/25147 * interface.c (compare_parameter): Return 1 if the actual arg is external and the formal is a procedure. (compare_actual_formal): If the actual argument is a variable and the formal a procedure, this an error. If a gsymbol exists for a procedure of the same name, this is not yet resolved and the error is cleared. * trans-intrinsic.c (gfc_conv_associated): Make provision for zero array length or zero string length contingent on presence of target, for consistency with standard. 2006-06-01 Paul Thomas <pault@gcc.gnu.org> PR fortran/25098 * gfortran.dg/dummy_procedure_1.f90: New test. PR fortran/25147 * gfortran.dg/dummy_procedure_2.f90: New test. * gfortran.dg/associated_2.f90: Correct to make consistent with standard. From-SVN: r114296
Diffstat (limited to 'gcc/cp')
0 files changed, 0 insertions, 0 deletions