[Fortran-dev, patch] Use only lbound/extent/sm in the array descriptor
Tobias Burnus
burnus@net-b.de
Sun Mar 11 13:07:00 GMT 2012
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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: no-ubound-cl.txt
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20120311/c01418ed/attachment.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: no-ubound-gen.diff.gz
Type: application/x-gzip
Size: 29322 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20120311/c01418ed/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: no-ubound.diff.gz
Type: application/x-gzip
Size: 8420 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20120311/c01418ed/attachment-0001.bin>
More information about the Fortran
mailing list