summaryrefslogtreecommitdiff
path: root/gcc/lto-streamer-in.c
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2009-10-25 20:50:07 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2009-10-25 20:50:07 +0000
commit88aca90627456e7631a84cfb30518c564d99bde7 (patch)
tree391ec91c769a88c20a03ebe002698977577a5ff7 /gcc/lto-streamer-in.c
parent70ea0e7c12c7c4ed3cbf9b30dfe2b28a49bf25b1 (diff)
downloadgcc-88aca90627456e7631a84cfb30518c564d99bde7.tar.gz
2009-10-25 Richard Guenther <rguenther@suse.de>
* lto-streamer-in.c (unpack_ts_decl_common_value_fields): Stream DECL_RESTRICTED_P. * lto-streamer-out.c (pack_ts_decl_common_value_fields): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@153542 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/lto-streamer-in.c')
-rw-r--r--gcc/lto-streamer-in.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/lto-streamer-in.c b/gcc/lto-streamer-in.c
index 000be331a94..f7c793647bc 100644
--- a/gcc/lto-streamer-in.c
+++ b/gcc/lto-streamer-in.c
@@ -1650,6 +1650,7 @@ unpack_ts_decl_common_value_fields (struct bitpack_d *bp, tree expr)
if (TREE_CODE (expr) == VAR_DECL
|| TREE_CODE (expr) == PARM_DECL)
DECL_HAS_VALUE_EXPR_P (expr) = (unsigned) bp_unpack_value (bp, 1);
+ DECL_RESTRICTED_P (expr) = (unsigned) bp_unpack_value (bp, 1);
}
}