[PATCH, fortran] Convert returned types to correct type.

Steve Kargl sgk@troutmask.apl.washington.edu
Thu Aug 2 20:17:00 GMT 2007


:ADDPATCH:

Here's is another patch that fixes a problem exposed by
-fdefault-integer-8.  The return type of the selected_*_kind
function was int4 but needs to be converted to int8.

I've tested the patch on both i386 and amd64-*-freebsd.


2007-08-02  Steven G. Kargl  <kargl@gcc.gnu.org>

	PR fortran/32968
	* gfortran.dg/selected_kind_1.f90: New test.

2007-08-02  Steven G. Kargl  <kargl@gcc.gnu.org>

	PR fortran/32968
	* trans-intrinsic.c(gfc_conv_intrinsic_si_kind,
	gfc_conv_intrinsic_sr_kind): Convert to the correct type.

-- 
Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: selected.diff
Type: text/x-diff
Size: 2103 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20070802/e82933ef/attachment.bin>


More information about the Fortran mailing list