-
- Downloads
re PR fortran/77325 (ICE in gimplify_var_or_parm_decl, at gimplify.c:1933)
2018-09-21 Paul Thomas <pault@gcc.gnu.org> PR fortran/77325 * trans-array.c (gfc_alloc_allocatable_for_assignment): If the rhs has a charlen expression, convert that and use it. * trans-expr.c (gfc_trans_assignment_1): The rse.pre for the assignment of deferred character array vars to a realocatable lhs should not be added to the exterior block since vector indices, for example, generate temporaries indexed within the loop. 2018-09-21 Paul Thomas <pault@gcc.gnu.org> PR fortran/77325 * gfortran.dg/deferred_character_22.f90 : New test. From-SVN: r264486
Showing
- gcc/fortran/ChangeLog 11 additions, 0 deletionsgcc/fortran/ChangeLog
- gcc/fortran/trans-array.c 9 additions, 0 deletionsgcc/fortran/trans-array.c
- gcc/fortran/trans-expr.c 9 additions, 5 deletionsgcc/fortran/trans-expr.c
- gcc/testsuite/ChangeLog 5 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/gfortran.dg/deferred_character_22.f90 27 additions, 0 deletionsgcc/testsuite/gfortran.dg/deferred_character_22.f90
Loading
Please register or sign in to comment