This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [gfortran] Fix PR15175: Type mismatch with SCALE and SET_EXPONENT
- From: Tobias Schlüter <tobias dot schlueter at physik dot uni-muenchen dot de>
- To: Paul Brook <paul at codesourcery dot com>
- Cc: fortran at gcc dot gnu dot org, patch <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 10 Dec 2004 17:15:01 +0100
- Subject: Re: [gfortran] Fix PR15175: Type mismatch with SCALE and SET_EXPONENT
- References: <41B9C060.9040509@physik.uni-muenchen.de> <200412101550.49477.paul@codesourcery.com>
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