This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
[Patch, fortran] PR32689 - gfc_simplify_transfer fixed as 'obvious'
- From: "Paul Richard Thomas" <paul dot richard dot thomas at gmail dot com>
- To: "fortran at gcc dot gnu dot org" <fortran at gcc dot gnu dot org>
- Date: Tue, 10 Jul 2007 07:21:36 +0200
- Subject: [Patch, fortran] PR32689 - gfc_simplify_transfer fixed as 'obvious'
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=GMFyra6djwViTcGoyXM0FNiXjeu5Jlbh1Yl0d4kBeyY6CPoDy+NVM3OmA+uvVIaDQ4pEZNa/p+VG4WUm81Wdp5Jv2bpIdNBwZkqC9NFUt3bDojCB+TzxyaLBpB3xT7pUxv/r/LU0Jo6Yo6Ga1CZR9iRSH1wF0klKgxgyTuq6DW4=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=g1KnpEGRYt4rl/eP4TwS0DWibjZVpSVl4DaSI0OJAcBn6u3wEJ2s6g8S7nqNvkVFLGWD8R95hAJIsfigg8UasTZZrGjG29Ndrfjc4zD+dxc+gFpoHgsYJVgd7mcApZUYQ9vEYtdvOGA02Upso0OrmSb9n/wQqS1/0S8b6cD0XjM=
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