This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [Patch, fortran] PR33337 and PR33376 - use associated derived type parameters with array refs.
- From: Paul Thomas <paulthomas2 at wanadoo dot fr>
- To: FX Coudert <fxcoudert at gmail dot com>
- Cc: Fortran List <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 22 Sep 2007 17:12:19 +0200
- Subject: Re: [Patch, fortran] PR33337 and PR33376 - use associated derived type parameters with array refs.
- References: <46F4B837.5040504@wanadoo.fr> <AD4E767D-122C-40ED-8801-591AEB5EDC26@gmail.com>
FX,
This seems fine to me, except for formatting of the block below:
! /* Only output variables and array valued, or derived type,
parameters. */
if (sym->attr.flavor != FL_VARIABLE
! &&
! !(sym->attr.flavor == FL_PARAMETER
! && (sym->attr.dimension != 0 || sym->ts.type == BT_DERIVED)))
This was hand crafted to try to make the logic clear!
I'll redo it:-)
Thanks
Paul