Commit a1d9c4fb by Richard Guenther Committed by Richard Biener

lto-streamer-in.c (unpack_ts_decl_common_value_fields): Stream DECL_RESTRICTED_P.

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.

From-SVN: r153542
parent c870c233
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.
2009-10-25 Richard Sandiford <rdsandiford@googlemail.com> 2009-10-25 Richard Sandiford <rdsandiford@googlemail.com>
* config/mips/mips.c (mips_restore_gp_from_cprestore_slot): Emit * config/mips/mips.c (mips_restore_gp_from_cprestore_slot): Emit
...@@ -1650,6 +1650,7 @@ unpack_ts_decl_common_value_fields (struct bitpack_d *bp, tree expr) ...@@ -1650,6 +1650,7 @@ unpack_ts_decl_common_value_fields (struct bitpack_d *bp, tree expr)
if (TREE_CODE (expr) == VAR_DECL if (TREE_CODE (expr) == VAR_DECL
|| TREE_CODE (expr) == PARM_DECL) || TREE_CODE (expr) == PARM_DECL)
DECL_HAS_VALUE_EXPR_P (expr) = (unsigned) bp_unpack_value (bp, 1); DECL_HAS_VALUE_EXPR_P (expr) = (unsigned) bp_unpack_value (bp, 1);
DECL_RESTRICTED_P (expr) = (unsigned) bp_unpack_value (bp, 1);
} }
} }
......
...@@ -433,6 +433,7 @@ pack_ts_decl_common_value_fields (struct bitpack_d *bp, tree expr) ...@@ -433,6 +433,7 @@ pack_ts_decl_common_value_fields (struct bitpack_d *bp, tree expr)
if (TREE_CODE (expr) == VAR_DECL if (TREE_CODE (expr) == VAR_DECL
|| TREE_CODE (expr) == PARM_DECL) || TREE_CODE (expr) == PARM_DECL)
bp_pack_value (bp, DECL_HAS_VALUE_EXPR_P (expr), 1); bp_pack_value (bp, DECL_HAS_VALUE_EXPR_P (expr), 1);
bp_pack_value (bp, DECL_RESTRICTED_P (expr), 1);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment