------- Comment #12 from kargl at gcc dot gnu dot org  2007-07-11 17:01 -------
(In reply to comment #11)
> 
> We need to make a choice between these two, and decided whether all arguments
> have the same type (my preferred choice) or if some have a fixed type. In all
> cases, uses of MVBITS with different mixed kinds should be audited, for there
> might be a few other inconsistencies lurking here.
> 

FROM and TO are integer and these must have the same kind type parameter.
The other arguments are simply specified to be of type integer.  However,
these are restricted by BITSIZE(FROM).  INTEGER*4 is clearly large enough.
So, we could walk the argument in iresolve.c(gfc_resolve_mvbits) and
forcefully convert the remaining args to INTEGER*4.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32357

Reply via email to