re PR fortran/32157 (intrinsic function name conflicts with subroutine if present...
authorPaul Thomas <pault@gcc.gnu.org>
Tue, 10 Jul 2007 05:11:00 +0000 (05:11 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Tue, 10 Jul 2007 05:11:00 +0000 (05:11 +0000)
commite7c8ff569c1183610a1ff25c8fb4756be078dc75
tree1cdd07b79dbb5fed84581b617a6a44a8f7aa043b
parent89ab46599d72839cb0b823baaaad4b76b384a543
re PR fortran/32157 (intrinsic function name conflicts with subroutine if present in the same file)

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

PR fortran/32157
* resolve.c (is_external_proc): New function.  Adds test that
the symbol is not an intrinsic procedure.
* (resolve_function, resolve_call): Replace logical statements
with call to is_external_proc.

PR fortran/32689
* simplify.c (gfc_simplify_transfer): If mold has rank, the
result is an array.

PR fortran/32634
* module.c (write_generic): Write the local name of the
interface.

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

PR fortran/32157
* gfortran.dg/overload_2.f90: New test.

PR fortran/32689
* gfortran.dg/transfer_simplify_5.f90

PR fortran/32634
* gfortran.dg/interface_15.f90: New test.

From-SVN: r126509
gcc/fortran/ChangeLog
gcc/fortran/module.c
gcc/fortran/resolve.c
gcc/fortran/simplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/interface_16.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/overload_2.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/transfer_simplify_5.f90 [new file with mode: 0644]