[gfortran] patch for PR fortran/25681 : ICE with len of array of derived type

Paul Thomas Paul.Thomas@jet.uk
Sat Apr 29 13:51:00 GMT 2006


: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



More information about the Gcc-patches mailing list