On Apr 20, 2015, at 6:34 AM, Jakub Jelinek <ja...@redhat.com> wrote: > add_AT_wide is the only add_AT_* that doesn't clear or otherwise initialize > dw_attr_val.val_entry field, so it contains random garbage, which isn't > desirable when ggc walks it during collections. > > Supposedly this omission originates from the val_entry addition being added > everywhere only after wide-int branch grabbed some add_AT_* routine from > dwarf2out.c as example for the add_AT_wide addition.
I can indeed confirm this is what happened. > Bootstrapped/regtested on x86_64-linux and i686-linux, committed to trunk > and 5.1 as obvious. The fix looks good to me.