On Tue, Apr 05, 2011 at 04:19:39PM +0200, Jakub Jelinek wrote: > + for (i = 0; i < VEC_length (deferred_locations, deferred_locations_list); > i++) > + { > + add_location_or_const_value_attribute ( > + VEC_index (deferred_locations, deferred_locations_list, i)->die, > + VEC_index (deferred_locations, deferred_locations_list, i)->variable, > + false, > + DW_AT_location); > + }
Tiny, non-binding suggestion: use FOR_EACH_VEC_ELT here? -Nathan