+2018-05-20 Paul Thomas <pault@gcc.gnu.org>
+
+ PR fortran/80657
+ * resolve.c (flag_fn_result_spec): Use the 'sym' argument to
+ test for self refs to the function result in the character len
+ expression. If a self reference is found, emit an error and
+ return true.
+ (resolve_fntype): Use the function symbol in the calls to the
+ above.
+
2018-05-20 Paul Thomas <pault@gcc.gnu.org>
PR fortran/49636
'get_array_span'.
(gfc_conv_expr_descriptor): Change references to above.
* trans-array.h : Add prototype for 'gfc_get_array_span'.
+ * trans-intrinsic.c (gfc_conv_associated): Add pre and post
+ blocks for 'arg1'.
* trans-stmt.c (trans_associate_var): If the associate name is
a subref array pointer, use gfc_get_array_span for the span.
2018-05-19 Paul Thomas <pault@gcc.gnu.org>
PR fortran/82923
- * gfortran.dg/allocate_assumed_charlen_4.f90: New test. Note
- that the patch fixes PR66694 & PR82617, although the testcases
- are not explicitly included.
+ PR fortran/66694
+ PR fortran/82617
+ * trans-array.c (gfc_alloc_allocatable_for_assignment): Set the
+ charlen backend_decl of the rhs expr to ss->info->string_length
+ so that the value in the current scope is used.
2018-05-13 Steven G. Kargl <kargl@gcc.gnu.org>
+2018-05-20 Paul Thomas <pault@gcc.gnu.org>
+
+ PR fortran/80657
+ * gfortran.dg/char_result_18.f90: New test.
+
2018-05-20 Paul Thomas <pault@gcc.gnu.org>
PR fortran/49636
2018-05-20 Paul Thomas <pault@gcc.gnu.org>
- PR fortran/82923
+ PR fortran/82275
* gfortran.dg/select_type_42.f90: New test.
2018-05-19 Paul Thomas <pault@gcc.gnu.org>
PR fortran/82923
- PR fortran/66694
- PR fortran/82617
- * trans-array.c (gfc_alloc_allocatable_for_assignment): Set the
- charlen backend_decl of the rhs expr to ss->info->string_length
- so that the value in the current scope is used.
+ * gfortran.dg/allocate_assumed_charlen_4.f90: New test. Note
+ that the patch fixes PR66694 & PR82617, although the testcases
+ are not explicitly included.
2018-05-18 Kito Cheng <kito.cheng@gmail.com>