aboutsummaryrefslogtreecommitdiff
path: root/gcc/lto-streamer.h
diff options
context:
space:
mode:
authorDiego Novillo <dnovillo@google.com>2011-06-03 22:48:27 +0000
committerDiego Novillo <dnovillo@google.com>2011-06-03 22:48:27 +0000
commit05f70f1909da4808e138d19849351a709423f911 (patch)
tree98c7f508d7bcb7007b5ae23de469cc56a7f1aa69 /gcc/lto-streamer.h
parent80effc8647103b433b20603978540976de384ddb (diff)
* lto-streamer-in.c (unpack_value_fields): Remove unneeded asserts.
(lto_input_tree_pointers): Likewise. * lto-streamer-out.c (pack_value_fields): Likewise. (lto_output_tree_pointers): Likewise. * lto-streamer.h (lto_is_streamable): Add check for OMP_CLAUSE and OPTIMIZATION_NODE. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@174625 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/lto-streamer.h')
-rw-r--r--gcc/lto-streamer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/lto-streamer.h b/gcc/lto-streamer.h
index 9de24fff63e..5f69655fb98 100644
--- a/gcc/lto-streamer.h
+++ b/gcc/lto-streamer.h
@@ -1081,6 +1081,8 @@ lto_is_streamable (tree expr)
&& code != BIND_EXPR
&& code != WITH_CLEANUP_EXPR
&& code != STATEMENT_LIST
+ && code != OMP_CLAUSE
+ && code != OPTIMIZATION_NODE
&& (code == CASE_LABEL_EXPR
|| code == DECL_EXPR
|| TREE_CODE_CLASS (code) != tcc_statement);