[Patch, Fortran] PR fortran/35723: Some fixes to restricted-expression handling

Daniel Kraft d@domob.eu
Thu Sep 25 16:53:00 GMT 2008


Hi Paul,

Paul Richard Thomas wrote:
>> 3) While working with runtime_subscript_dimension_3.f90, I discovered that
>> argument lists of function calls are not checked, either.  I added this
>> check; for inquiry-type intrinsic calls it is disabled.  I believe this is
>> the best we can do to conform to the standard at the moment. This should not
>> catch cases like:
> 
> I just encountered this in looking at PR35680. I fixed it by putting a
> check_restricted into the argument checking of check_inquiry. It
> leaves the remaining problem that when the declarations are in the
> right order an ICE occurs - for reasons that are evident from the
> dump-tree-original.

I just looked briefly at that PR and the dump-tree-original, but 
couldn't see the reason from that...  Can you give me some further hints?

> Maybe your patch fixes the "regression" in PR35680?  If it doesn't,
> you are in a good position to do so.

It doesn't.  If you believe this can be fixed easily from my current 
patch and I find out what the problem is, I'll happily add this of course.

Cheers,
Daniel

-- 
Done:  Arc-Bar-Cav-Rog-Sam-Val-Wiz
To go: Hea-Kni-Mon-Pri-Ran-Tou



More information about the Fortran mailing list