aboutsummaryrefslogtreecommitdiff
path: root/gcc/lto-streamer-out.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2018-11-22 09:54:14 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2018-11-22 09:54:14 +0000
commit7f29dafe76b6530ec8c742487f7061492d7aaaf8 (patch)
tree11e2bf2f66bf672dc32d6aa0ada91ad0306fd52c /gcc/lto-streamer-out.c
parentd42ef0f85fa3ceacfa64fdded5c08f5bfb669185 (diff)
downloadgcc-7f29dafe76b6530ec8c742487f7061492d7aaaf8.zip
gcc-7f29dafe76b6530ec8c742487f7061492d7aaaf8.tar.gz
gcc-7f29dafe76b6530ec8c742487f7061492d7aaaf8.tar.bz2
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
Diffstat (limited to 'gcc/lto-streamer-out.c')
-rw-r--r--gcc/lto-streamer-out.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/lto-streamer-out.c b/gcc/lto-streamer-out.c
index 2cb0402..0119339 100644
--- a/gcc/lto-streamer-out.c
+++ b/gcc/lto-streamer-out.c
@@ -306,7 +306,6 @@ lto_is_streamable (tree expr)
name version in lto_output_tree_ref (see output_ssa_names). */
return !is_lang_specific (expr)
&& code != SSA_NAME
- && code != CALL_EXPR
&& code != LANG_TYPE
&& code != MODIFY_EXPR
&& code != INIT_EXPR