PR debug/84131
* trans-array.c (gfc_get_descriptor_offsets_for_info): Set *data_off
to DATA_FIELD's offset rather than OFFSET_FIELD's offset.
From-SVN: r257212
+2018-01-30 Jakub Jelinek <jakub@redhat.com>
+
+ PR debug/84131
+ * trans-array.c (gfc_get_descriptor_offsets_for_info): Set *data_off
+ to DATA_FIELD's offset rather than OFFSET_FIELD's offset.
+
2017-01-30 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/84134
tree type;
type = TYPE_MAIN_VARIANT (desc_type);
- field = gfc_advance_chain (TYPE_FIELDS (type), OFFSET_FIELD);
+ field = gfc_advance_chain (TYPE_FIELDS (type), DATA_FIELD);
*data_off = byte_position (field);
field = gfc_advance_chain (TYPE_FIELDS (type), DTYPE_FIELD);
*dtype_off = byte_position (field);