This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [patch, fortran] More on allocatable dummy arguments.
- From: Paul Thomas <paulthomas2 at wanadoo dot fr>
- To: Erik Edelmann <erik dot edelmann at iki dot fi>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>, gfortran <fortran at gcc dot gnu dot org>, Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- Date: Thu, 09 Mar 2006 21:18:15 +0100
- Subject: Re: [patch, fortran] More on allocatable dummy arguments.
- References: <20060309001533.GA12553@acclab.helsinki.fi>
Erik,
:ADDPATCH:
Thanks to Paul and Steve for looking at my 'allocatable function
result' patch. In the meantime, I've found a bug for allocatable
dummy arguments in functions returning arrays. (I'm pretty sure I
tested that, but appearantly not).
Fix in short: Treat allocatable dummy arguments in trans-expr.c
(gfc_add_interface_mapping) the same way as pointer dummy
arguments.
Tested on trunk, Linux/x86. Ok to commit?
Perhaps a > grep pointer gcc/fortran/trans-*.c might be in order?
The patch is fine and regtests on an FC3/Athlon, together with the other
two patches. OK to commit.
Just to be absolutely clear - I was talking about tabs in C code and not
in fortran!
Cheers
Paul