This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/84155] [8 Regression] program hangs on valid code
- From: "pault at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 10 Feb 2018 18:16:47 +0000
- Subject: [Bug fortran/84155] [8 Regression] program hangs on valid code
- Auto-submitted: auto-generated
- References: <bug-84155-4@http.gcc.gnu.org/bugzilla/>
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