[Bug fortran/85102] ICE in gfc_conv_intrinsic_dot_product, at fortran/trans-intrinsic.c:4464

tkoenig at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Apr 2 16:48:00 GMT 2018


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

--- Comment #4 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Mon Apr  2 16:47:48 2018
New Revision: 259014

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

        PR fortran/85102
        * decl.c (variable_decl): If upper or lower bounds simplify
        to a constant, use that.

2018-04-02  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR fortran/85102
        * gfortran.dg/array_simplify_2.f90: New test.


Added:
    trunk/gcc/testsuite/gfortran.dg/array_simplify_2.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/decl.c
    trunk/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list