mirror of git://gcc.gnu.org/git/gcc.git
re PR lto/45789 (ICE: tree code 'lang_type' is not supported in gimple streams with -flto when using __builtin_printf())
2010-11-19 Richard Guenther <rguenther@suse.de> PR lto/45789 * lto-streamer-out.c (lto_output_ts_common_tree_pointers): For IDENTIFIERs do not stream TREE_TYPE. * lto-streamer-in.c (lto_input_ts_common_tree_pointers): Likewise. From-SVN: r166936
This commit is contained in:
parent
0d697034b7
commit
132797449d
|
@ -1,3 +1,10 @@
|
||||||
|
2010-11-19 Richard Guenther <rguenther@suse.de>
|
||||||
|
|
||||||
|
PR lto/45789
|
||||||
|
* lto-streamer-out.c (lto_output_ts_common_tree_pointers): For
|
||||||
|
IDENTIFIERs do not stream TREE_TYPE.
|
||||||
|
* lto-streamer-in.c (lto_input_ts_common_tree_pointers): Likewise.
|
||||||
|
|
||||||
2010-11-19 Christian Borntraeger <borntraeger@de.ibm.com>
|
2010-11-19 Christian Borntraeger <borntraeger@de.ibm.com>
|
||||||
|
|
||||||
* config/s390/s390.c (s390_function_arg_integer): Handle NULLPTR_TYPE.
|
* config/s390/s390.c (s390_function_arg_integer): Handle NULLPTR_TYPE.
|
||||||
|
|
|
@ -1874,7 +1874,8 @@ static void
|
||||||
lto_input_ts_common_tree_pointers (struct lto_input_block *ib,
|
lto_input_ts_common_tree_pointers (struct lto_input_block *ib,
|
||||||
struct data_in *data_in, tree expr)
|
struct data_in *data_in, tree expr)
|
||||||
{
|
{
|
||||||
TREE_TYPE (expr) = lto_input_tree (ib, data_in);
|
if (TREE_CODE (expr) != IDENTIFIER_NODE)
|
||||||
|
TREE_TYPE (expr) = lto_input_tree (ib, data_in);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -793,7 +793,8 @@ static void
|
||||||
lto_output_ts_common_tree_pointers (struct output_block *ob, tree expr,
|
lto_output_ts_common_tree_pointers (struct output_block *ob, tree expr,
|
||||||
bool ref_p)
|
bool ref_p)
|
||||||
{
|
{
|
||||||
lto_output_tree_or_ref (ob, TREE_TYPE (expr), ref_p);
|
if (TREE_CODE (expr) != IDENTIFIER_NODE)
|
||||||
|
lto_output_tree_or_ref (ob, TREE_TYPE (expr), ref_p);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue