2009-10-25 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 25 Oct 2009 20:50:07 +0000 (20:50 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 25 Oct 2009 20:50:07 +0000 (20:50 +0000)
* 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

gcc/ChangeLog
gcc/lto-streamer-in.c
gcc/lto-streamer-out.c

index e17878e..4bce209 100644 (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
index 000be33..f7c7936 100644 (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);
     }
 }
 
index d593aac..1ed1939 100644 (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);
     }
 }