aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/tree-streamer-out.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/gcc/tree-streamer-out.c')
-rw-r--r--gcc-4.9/gcc/tree-streamer-out.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/gcc-4.9/gcc/tree-streamer-out.c b/gcc-4.9/gcc/tree-streamer-out.c
index 90dec0a..ff8f701 100644
--- a/gcc-4.9/gcc/tree-streamer-out.c
+++ b/gcc-4.9/gcc/tree-streamer-out.c
@@ -454,7 +454,16 @@ streamer_pack_tree_bitfields (struct output_block *ob,
pack_ts_type_common_value_fields (bp, expr);
if (CODE_CONTAINS_STRUCT (code, TS_EXP))
- stream_output_location (ob, bp, EXPR_LOCATION (expr));
+ {
+ stream_output_location (ob, bp, EXPR_LOCATION (expr));
+ if (code == MEM_REF
+ || code == TARGET_MEM_REF)
+ {
+ bp_pack_value (bp, MR_DEPENDENCE_CLIQUE (expr), sizeof (short) * 8);
+ if (MR_DEPENDENCE_CLIQUE (expr) != 0)
+ bp_pack_value (bp, MR_DEPENDENCE_BASE (expr), sizeof (short) * 8);
+ }
+ }
if (CODE_CONTAINS_STRUCT (code, TS_BLOCK))
pack_ts_block_value_fields (ob, bp, expr);