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 <tkoe...@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 <tkoe...@gcc.gnu.org>
PR fortran/78238
* gfortran.dg/select_type_40.f90: New test.
OK Thomas,
Regards,
Jerry