This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch, fortran] PR27900 - ICE using intrinsics as arguments


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]