[Fortran-dev, patch, committed] Minor fixes

Tobias Burnus burnus@net-b.de
Mon Mar 12 18:01:00 GMT 2012


On 03/12/2012 01:50 PM, Tobias Burnus wrote:
> Additionally, I modified some tree-dump patterns for the extent and 
> for the base_addr change.

Three more changes: The libgfortran change should have been just a 
cleanup, but it seems to also fix a failure. Plus two dump changes. The 
number of failures is now down to 160 FAIL lines - or to the following 
18 test cases (plus three which fail also on the trunk):

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.f90
gfortran.dg/c_f_pointer_tests_4.f90
gfortran.dg/optional_dim_3.f90
gfortran.dg/associated_2.f90
gfortran.dg/auto_char_dummy_array_1.f90
gfortran.dg/class_array_1.f03
gfortran.dg/auto_char_len_3.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/proc_decl_23.f90
gfortran.dg/read_eof_all.f90
gfortran.dg/transfer_intrinsic_3.f90
gfortran.dg/subref_array_pointer_2.f90

The array c_f_pointer function fails because the fptr's size is not set 
(it is needed to set the sm). Solution: Handle everything in the FE.

Tobias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fd.diff
Type: text/x-patch
Size: 4081 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20120312/14033a80/attachment.bin>


More information about the Fortran mailing list