This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] fixes Fortran parameter passing problem
- From: Wolfgang Gellerich <gellerich at de dot ibm dot com>
- To: Paul Thomas <paulthomas2 at wanadoo dot fr>
- Cc: fortran at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org, Andreas Krebbel1 <Andreas dot Krebbel at de dot ibm dot com>
- Date: Wed, 13 Sep 2006 14:26:05 +0200
- Subject: Re: [PATCH] fixes Fortran parameter passing problem
Hi Paul,
Andreas Krebbel will commit the patch.
As far as I know there was no PR for this problem. I appended the change
log entry below.
By the way, test case char_result_6 also suggests that there might be a
possible performance improvement as the call to gfortran_string_scan is
actually executed twice. The simplified code provided in my original
message is sufficient to demonstrate that effect.
With best regards,
Wolfgang Gellerich
---
Dr. Wolfgang Gellerich
IBM Deutschland Entwicklung GmbH
Schönaicher Strasse 220
71032 Böblingen, Germany
Tel. +49 / 7031 / 162598
gellerich@de.ibm.com
---------------------
2006-09-12 Wolfgang Gellerich <gellerich@de.ibm.com>
* trans-expr.c (gfc_add_interface_mapping): For characters, dereference
pointer if
necessary and then perform the cast.