This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: [gfortran] Fix PR15175: Type mismatch with SCALE and SET_EXPONENT


Paul Brook wrote:
> No. You should be converting to whatever type is used by the library 
> implementation.  This means "int" for SCALE and "GFC_INTEGER_4" for 
> SET_EXPONENT.
> 

Thanks, of course on i686 they're all the same, so it would still do the right
thing. Ok with the checks replaced with '!= gfc_c_int_kind' and '!= 4',
respectively?

- Tobi


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