re PR fortran/32526 (Spurious error: Name 'x' at (1) is an ambiguous reference to...
authorPaul Thomas <pault@gcc.gnu.org>
Thu, 5 Jul 2007 06:49:54 +0000 (06:49 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Thu, 5 Jul 2007 06:49:54 +0000 (06:49 +0000)
commit6291f3ba48ae8d65a167f7f96469519a7a410fec
tree541aab681e941c2570dcf444d7e8887b63a5810e
parent200359e888d1230d8b0a2a2ba9731786856649c8
re PR fortran/32526 (Spurious error: Name 'x' at (1) is an ambiguous reference to 'x' from module 'y')

2007-07-05  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/32526
* match.c (gfc_match_call): Check, in all cases, that a symbol
is neither generic nor a subroutine before trying to add it as
a subroutine.

PR fortran/32613
* match.c (gfc_match_do): Reset the implied_index attribute.

2007-07-05  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/32526
* gfortran.dg/interface_14.f90: New test.

PR fortran/32613
* gfortran.dg/do_iterator_2.f90: New test.

From-SVN: r126354
gcc/fortran/ChangeLog
gcc/fortran/match.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/do_iterator_2.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/interface_14.f90 [new file with mode: 0644]