This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [gfortran] patch for PR fortran/25681 : ICE with len of array of derived type
- From: Paul dot Thomas at jet dot uk (Paul Thomas)
- To: <gcc-patches at gcc dot gnu dot org>, <fortran at gcc dot gnu dot org>, <fxcoudert at gmail dot com>
- Date: Sat, 29 Apr 2006 14:51:07 +0100
- Subject: Re: [gfortran] patch for PR fortran/25681 : ICE with len of array of derived type
:REVIEWMAIL:
Francois-Xavier,
> With the patch really attached. Sorry.
Hands up, who has never done it....
> Attached patch is a very simple fix for PR 25681 "ICE with len of
Indeed it is simple and effective.
From 4.4.1:
Constraint: The character length specified by the char-length in a
component-decl or the char-selector in a type-spec (5.1, 5.1.1.5)
shall be a constant specification expression
(7.1.6.2).
So, seek no more; you have already found.
> OK for mainline and 4.1?
Yes, indeed.
Thanks
Paul