This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran 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.1030003@wanadoo.fr>
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