[Patch, fortran] PR24325 - ICE in gfc_get_function_type
Paul Thomas
paulthomas2@wanadoo.fr
Fri Dec 29 13:26:00 GMT 2006
Dear All,
>
>
> In essence, if we arrive at resolve_function with the function not
> already resolved or with the symbol not having FL_UNKNOWN then, for
> sure and certain, we are going to produce the ICE in
> gfc_get_function_type. Initially, I had the test only detect
> FL_VARIABLE to throw the error. However, the opening block in
> resolve_symbol treats FL_UNKNOWN and results in them either being
> identified as variables or procedures. Thus I think that it is
> sufficient to test that the symbol is not a function and that testing
> for FL_UNKNOWN adds the belt and braces.
>
Cancel this for an hour or two. The initial version got regtested
instead of this one - it is fine, so I might just resubmit that one.
However, if I can find the problem with this version I would rather do that.
Watch this space.
Paul
More information about the Fortran
mailing list