This is the mail archive of the
mailing list for the GCC project.
Re: [Patch, fortran] PR27900 - ICE using intrinsics as arguments
- From: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- To: Paul Thomas <paulthomas2 at wanadoo dot fr>
- Cc: Fortran List <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 30 Dec 2006 10:51:17 -0800
- Subject: Re: [Patch, fortran] PR27900 - ICE using intrinsics as arguments
- References: <4596AC7D.firstname.lastname@example.org>
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?
> 2006-12-30 Paul Thomas <email@example.com>
> 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.