[patch, fortran] Fix PR 78238, ICE with SELECT TYPE with -fdefault-integer-8
Jerry DeLisle
jvdelisle@charter.net
Sat Feb 24 21:52:00 GMT 2018
On 02/24/2018 12:04 PM, Thomas Koenig wrote:
> Hello world,
>
> the attached patch fixes a 7/8 regression with SELECT TYPE where
> the constant had the wrong type with -fdefault-integer-8.
>
> Regression-tested. OK for trunk and gcc-7?
>
> Regards
>
> Â Â Â Â Thomas
>
> 2018-01-24 Thomas Koenig <tkoenig@gcc.gnu.org>
>
> Â Â Â Â Â Â Â PR fortran/78238
> Â Â Â Â Â Â Â * gfortran.h (gfc_integer_4_kind): Define.
> Â Â Â Â Â Â Â * resolve.c (resolve_select_type): Make sure that the
> Â Â Â Â Â Â Â kind of c->high is gfc_integer_4_kind.
>
> 2018-01-24 Thomas Koenig <tkoenig@gcc.gnu.org>
>
> Â Â Â Â Â Â Â PR fortran/78238
> Â Â Â Â Â Â Â * gfortran.dg/select_type_40.f90: New test.
OK Thomas,
Regards,
Jerry
More information about the Gcc-patches
mailing list