re PR fortran/78238 ([OOP] ICE: verify_gimple failed, with -fdefault-integer-8)
authorThomas Koenig <tkoenig@gcc.gnu.org>
Sun, 25 Feb 2018 09:02:32 +0000 (09:02 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Sun, 25 Feb 2018 09:02:32 +0000 (09:02 +0000)
commit6ef1366a5516de64a6fcf35014359aba9d631c9a
treebefc8dea5057c1f1971a4e3fae6cb2061f649b52
parentc7aff3bc8b277abc714f03772ad79e37c85cdaae
re PR fortran/78238 ([OOP] ICE: verify_gimple failed, with -fdefault-integer-8)

2018-02-25  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-02-25  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/78238
* gfortran.dg/select_type_40.f90: New test.

From-SVN: r257968
gcc/fortran/ChangeLog
gcc/fortran/gfortran.h
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/select_type_40.f90 [new file with mode: 0644]