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

[Fortran-dev, patch] Use only lbound/extent/sm in the array descriptor


Dear all,

with that patch, the array descriptor on the fortran-dev branch uses now the dimension triplet as defined in TS29113. This patch removes ubound/stride and updates all calls.

There are still 227 test-suite failures ("FAIL" lines) affecting 27 test-suite files. That's slightly down from the 269 lines the branch currently has. (Some issues can be fixed by modifying the tree dump patterns, but most seem to be "real" problems.)

Build and regtested on x86-64-linux.
OK for the branch?


TODO: - Fixing the regressions. - Cleanup of the library and the front end - Switching also from ubound -> extent for nondescriptor arrays? - Properly implement subpointers

(Plus the other changes like: rank, type, elem_len etc.)

Tobias

PS: Currently failing are the following 24+3 tests:

gfortran.dg/realloc_on_assign_5.f03  [fails also on the trunk]
gfortran.dg/lto/pr45586  [ditto]
gfortran.dg/lto/pr45586-2  [ditto]

gfortran.dg/array_section_2.f90
gfortran.dg/assign_10.f90
gfortran.dg/associated_2.f90
gfortran.dg/auto_char_dummy_array_1.f90
gfortran.dg/auto_char_len_3.f90
gfortran.dg/c_f_pointer_complex.f03
gfortran.dg/c_f_pointer_shape_tests_2.f03
gfortran.dg/c_f_pointer_shape_tests_4.f03
gfortran.dg/c_f_pointer_tests_4.f90
gfortran.dg/c_f_pointer_tests.f90
gfortran.dg/class_array_1.f03
gfortran.dg/class_array_2.f03
gfortran.dg/class_array_3.f03
gfortran.dg/class_to_type_1.f03
gfortran.dg/coarray_12.f90
gfortran.dg/contiguous_3.f90
gfortran.dg/optional_dim_3.f90
gfortran.dg/pr32921.f
gfortran.dg/proc_decl_23.f90
gfortran.dg/read_eof_all.f90
gfortran.dg/subref_array_pointer_2.f90
gfortran.dg/transfer_intrinsic_3.f90
gfortran.dg/transpose_optimization_2.f90
gfortran.dg/widechar_intrinsics_5.f90

Attachment: no-ubound-cl.txt
Description: Text document

Attachment: no-ubound-gen.diff.gz
Description: GNU Zip compressed data

Attachment: no-ubound.diff.gz
Description: GNU Zip compressed data


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