[PATCH] fixes Fortran parameter passing problem

Wolfgang Gellerich gellerich@de.ibm.com
Wed Sep 13 12:21:00 GMT 2006


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.



More information about the Fortran mailing list