This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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]

Re: [patch 2/2] Multi-dimensional arrays issue (PR fortran/11104)


>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:

Jan> 2011-01-06  Andrew Burgess  <aburgess@broadcom.com>
Jan> 	    Jan Kratochvil  <jan.kratochvil@redhat.com>
Jan> 	PR fortran/11104 and DWARF unbound arrays detection.
Jan> 	* dwarf2read.c (read_subrange_type): Set zero length on unspecified
Jan> 	upper bound.  Set TYPE_HIGH_BOUND_UNDEFINED if not language_ada on
Jan> 	unspecified upper bound.
Jan> 	* eval.c (evaluate_subexp_standard) <multi_f77_subscript>: Remove
Jan> 	variables array_size_array, tmp_type and offset_item.  New variable
Jan> 	array.  Remove call to f77_get_upperbound.  New variables array_type
Jan> 	and index.  Call value_subscripted_rvalue for each dimenasion.  Remove
Jan> 	the final call to deprecated_set_value_type.

I read this and at least the parts that I understood make sense to me :)
I think you should go ahead with it.

Tom


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