This is the mail archive of the gcc-bugs@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]

[Bug fortran/84155] [8 Regression] program hangs on valid code


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

--- Comment #20 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Sat Feb 10 18:16:14 2018
New Revision: 257550

URL: https://gcc.gnu.org/viewcvs?rev=257550&root=gcc&view=rev
Log:
2018-02-10  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/84141
        PR fortran/84155
        * trans-array.c (gfc_array_init_size): Revert the change made
        in revision 257356 setting the dtype.
        * trans-types.c (gfc_get_dtype): Do not use the cached dtype.
        Call gfc_get_dtype_rank_type every time.

        PR fortran/56691
        * trans-array.c (gfc_conv_expr_descriptor): If the source array
        is a descriptor type, use its offset, removing the condition
        that is be a class expression.

2018-02-10  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/56691
        * gfortran.dg/type_to_class_4.f03: New test.


Added:
    trunk/gcc/testsuite/gfortran.dg/type_to_class_4.f03
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-array.c
    trunk/gcc/fortran/trans-types.c
    trunk/gcc/testsuite/ChangeLog

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