2009-12-11 Richard Guenther <rguenther@suse.de>
PR lto/42037
* lto.c (lto_resolution_read): Properly grow the vector.
From-SVN: r155166
+2009-12-11 Richard Guenther <rguenther@suse.de>
+
+ PR lto/42037
+ * lto.c (lto_resolution_read): Properly grow the vector.
+
2009-12-11 Richard Guenther <rguenther@suse.de>
PR lto/41915
internal_error ("Invalid resolution in the resolution file.");
VEC_safe_grow_cleared (ld_plugin_symbol_resolution_t, heap, ret,
- index + 1);
+ max_index + 1);
VEC_replace (ld_plugin_symbol_resolution_t, ret, index, r);
}