lto-streamer-in.c (lto_input_ts_translation_unit_decl_tree_pointers): Properly copy the read string.
2010-09-17 Richard Guenther <rguenther@suse.de> * lto-streamer-in.c (lto_input_ts_translation_unit_decl_tree_pointers): Properly copy the read string. From-SVN: r164371
This commit is contained in:
parent
e90afde6fe
commit
0982fd6497
@ -1,3 +1,8 @@
|
|||||||
|
2010-09-17 Richard Guenther <rguenther@suse.de>
|
||||||
|
|
||||||
|
* lto-streamer-in.c (lto_input_ts_translation_unit_decl_tree_pointers):
|
||||||
|
Properly copy the read string.
|
||||||
|
|
||||||
2010-09-17 Joseph Myers <joseph@codesourcery.com>
|
2010-09-17 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
* doc/options.texi (Variable): Document.
|
* doc/options.texi (Variable): Document.
|
||||||
|
@ -2241,7 +2241,7 @@ lto_input_ts_translation_unit_decl_tree_pointers (struct lto_input_block *ib,
|
|||||||
struct data_in *data_in,
|
struct data_in *data_in,
|
||||||
tree expr)
|
tree expr)
|
||||||
{
|
{
|
||||||
TRANSLATION_UNIT_LANGUAGE (expr) = input_string (data_in, ib);
|
TRANSLATION_UNIT_LANGUAGE (expr) = xstrdup (input_string (data_in, ib));
|
||||||
VEC_safe_push (tree, gc, all_translation_units, expr);
|
VEC_safe_push (tree, gc, all_translation_units, expr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user