This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Patch, fortran] PR32689 - gfc_simplify_transfer fixed as 'obvious'


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: New test.

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

Note that I took the opportunity to fix PR32689, as well as the other
two.  This was even more 'obvious' than the others; Brooks and I had
forgotten to allow for the possibility of MOLD being a variable array
in gfc_simplify_transfer. All that was needed was to add

|| mold->rank

in the appropriate if statement.

Paul


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]