-
- Downloads
trans-array.c (gfc_trans_create_temp_array): In the case of a class array temporary...
2012-01-16 Paul Thomas <pault@gcc.gnu.org> * trans-array.c (gfc_trans_create_temp_array): In the case of a class array temporary, detect a null 'eltype' on entry and use 'initial' to provde the class reference and so, through the vtable, the element size for the dynamic type. * trans-stmt.c (gfc_conv_elemental_dependencies): For class expressions, set 'eltype' to null and pass the values via the 'initial' expression. 2012-01-16 Paul Thomas <pault@gcc.gnu.org> * gfortran.dg/class_array_3.f03: Remove the explicit loop in subroutine 'qsort' and use index array to assign the result. From-SVN: r183216
Showing
- gcc/fortran/ChangeLog 10 additions, 0 deletionsgcc/fortran/ChangeLog
- gcc/fortran/trans-array.c 30 additions, 6 deletionsgcc/fortran/trans-array.c
- gcc/fortran/trans-stmt.c 36 additions, 13 deletionsgcc/fortran/trans-stmt.c
- gcc/testsuite/ChangeLog 5 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/gfortran.dg/class_array_3.f03 1 addition, 4 deletionsgcc/testsuite/gfortran.dg/class_array_3.f03
Loading
Please register or sign in to comment