[Patch, fortran] PR27900 - ICE using intrinsics as arguments
Steve Kargl
sgk@troutmask.apl.washington.edu
Sat Dec 30 18:56:00 GMT 2006
On Sat, Dec 30, 2006 at 07:14:21PM +0100, Paul Thomas wrote:
> :ADDPATCH fortran:
>
> After quite a lot of worrying at this one by both FX and myself, the fix
> turns out to be quite simple and self explanatory. The testcase is a
> slight development of the reporter's.
>
> Bootstrapped and regtested on ia64/FC5 - OK for trunk and 4.2?
>
> Paul
> 2006-12-30 Paul Thomas <pault@gcc.gnu.org>
>
> PR fortran/27900
> * resolve.c (resolve_actual_arglist): If all else fails and a
> procedure actual argument has no type, see if a specific
> intrinsic matches.
>
OK with a whitespace fix.
+ if (sym->attr.function
+ && sym->ts.type == BT_UNKNOWN
+ && sym->attr.intrinsic)
The above should be 1 tab and 6 spaces.
--
Steve
More information about the Fortran
mailing list