aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-streamer-out.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-streamer-out.cc')
-rw-r--r--gcc/tree-streamer-out.cc14
1 files changed, 2 insertions, 12 deletions
diff --git a/gcc/tree-streamer-out.cc b/gcc/tree-streamer-out.cc
index d107229..81e6fcb 100644
--- a/gcc/tree-streamer-out.cc
+++ b/gcc/tree-streamer-out.cc
@@ -166,18 +166,8 @@ pack_ts_int_cst_value_fields (struct bitpack_d *bp, tree expr)
static void
pack_ts_real_cst_value_fields (struct bitpack_d *bp, tree expr)
{
- unsigned i;
- REAL_VALUE_TYPE r;
-
- r = TREE_REAL_CST (expr);
- bp_pack_value (bp, r.cl, 2);
- bp_pack_value (bp, r.decimal, 1);
- bp_pack_value (bp, r.sign, 1);
- bp_pack_value (bp, r.signalling, 1);
- bp_pack_value (bp, r.canonical, 1);
- bp_pack_value (bp, r.uexp, EXP_BITS);
- for (i = 0; i < SIGSZ; i++)
- bp_pack_value (bp, r.sig[i], HOST_BITS_PER_LONG);
+ REAL_VALUE_TYPE r = TREE_REAL_CST (expr);
+ bp_pack_real_value (bp, &r);
}