Fallout from -fdefault-integer-8

Steve Kargl sgk@troutmask.apl.washington.edu
Fri Aug 3 06:00:00 GMT 2007


On Fri, Aug 03, 2007 at 07:44:52AM +0200, Thomas Koenig wrote:
> On Thu, 2007-08-02 at 21:58 -0700, Steve Kargl wrote:
> 
> 
> > 
> > In the context of -fdefault-integer-8, the above is a bug.  I
> > think we'll need to audit all uses of 
> > 
> >       ts.kind = gfc_default_integer_kind;
> > 
> > to determine if it is used correctly.
> 
> Yes - this is parallel to the treatment of the "mask" argument in
> PR 32954.
> 
> Should we open a new PR, or keep 32968 open to keep track of this?
> 

I think I found the remaining problematic ones in iresolve.c. 
In fixing those, I have decided to add gfc_resolve_selected_*_kind
functions to force their arguments to INTEGER(4).  This removes
the type conversions that I introduced into trans-intrinsics. 

-- 
Steve



More information about the Fortran mailing list