This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch, fortran] Fix PR 78238, ICE with SELECT TYPE with -fdefault-integer-8


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]