[Bug fortran/85896] ICE in gfc_convert_constant(): Unexpected type

tkoenig at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Oct 30 23:04:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85896

--- Comment #8 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Tue Oct 30 23:04:10 2018
New Revision: 265649

URL: https://gcc.gnu.org/viewcvs?rev=265649&root=gcc&view=rev
Log:
2018-10-30  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR fortran/85896
        * simplify.c (simplify_min_max): Do not convert the type of the
        return expression.

2018-10-30  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR fortran/85896
        * gfortran.dg/min_max_type.f90: New test.


Added:
    trunk/gcc/testsuite/gfortran.dg/min_max_type.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/simplify.c
    trunk/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list