lto-streamer-out.c (lto_variably_modified_type_p): New.
authorRichard Biener <rguenther@suse.de>
Tue, 15 Oct 2019 18:30:15 +0000 (18:30 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 15 Oct 2019 18:30:15 +0000 (18:30 +0000)
commit7e601a1d3ef4bf1467bc85d01f641bdbbf3e7fd8
tree19abd6e2980f99fdcc78a7477781141a9662017a
parent2a0cb1644c8431660f24f25aa82118f86d7f9627
lto-streamer-out.c (lto_variably_modified_type_p): New.

2019-10-15  Richard Biener  <rguenther@suse.de>

* lto-streamer-out.c (lto_variably_modified_type_p): New.
(tree_is_indexable): Use it.
* tree-streamer-out.c (pack_ts_type_common_value_fields):
Stream variably_modified_type_p as TYPE_LANG_FLAG_0.
* tree-streamer-in.c (unpack_ts_type_common_value_fields): Likewise.

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