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
This commit is contained in:
Richard Guenther 2009-10-25 20:50:07 +00:00 committed by Richard Biener
parent c870c233bd
commit a1d9c4fb40
3 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,9 @@
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>
* config/mips/mips.c (mips_restore_gp_from_cprestore_slot): Emit

View File

@ -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);
}
}

View File

@ -433,6 +433,7 @@ pack_ts_decl_common_value_fields (struct bitpack_d *bp, tree expr)
if (TREE_CODE (expr) == VAR_DECL
|| TREE_CODE (expr) == PARM_DECL)
bp_pack_value (bp, DECL_HAS_VALUE_EXPR_P (expr), 1);
bp_pack_value (bp, DECL_RESTRICTED_P (expr), 1);
}
}