re PR c++/87229 (ICE: tree code 'call_expr' is not supported in LTO streams)
authorRichard Biener <rguenther@suse.de>
Thu, 22 Nov 2018 09:54:14 +0000 (09:54 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 22 Nov 2018 09:54:14 +0000 (09:54 +0000)
commit7f29dafe76b6530ec8c742487f7061492d7aaaf8
tree11e2bf2f66bf672dc32d6aa0ada91ad0306fd52c
parentd42ef0f85fa3ceacfa64fdded5c08f5bfb669185
re PR c++/87229 (ICE: tree code 'call_expr' is not supported in LTO streams)

2018-11-22  Richard Biener  <rguenther@suse.de>

PR lto/87229
PR lto/88112
* lto-streamer-out.c (lto_is_streamable): Allow CALL_EXPRs
which can appear in size expressions.
* tree-streamer-in.c (unpack_ts_base_value_fields): Stream
CALL_EXPR_BY_DESCRIPTOR.
(streamer_read_tree_bitfields): Stream CALL_EXPR_IFN.
* tree-streamer-out.c (pack_ts_base_value_fields): Stream
CALL_EXPR_BY_DESCRIPTOR.
(streamer_write_tree_bitfields): Stream CALL_EXPR_IFN.

Revert
PR lto/87229
* tree.c (free_lang_data_in_one_sizepos): Free non-gimple-val
sizepos values.

From-SVN: r266372
gcc/ChangeLog
gcc/lto-streamer-out.c
gcc/tree-streamer-in.c
gcc/tree-streamer-out.c
gcc/tree.c