mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-01 07:44:05 +08:00
re PR lto/42037 ("grow domain error" in lto1)
2009-12-11 Richard Guenther <rguenther@suse.de> PR lto/42037 * lto.c (lto_resolution_read): Properly grow the vector. From-SVN: r155166
This commit is contained in:
parent
90f5494c89
commit
e7d00517fa
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -344,7 +344,7 @@ lto_resolution_read (FILE *resolution, lto_file *file)
|
||||
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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user