diff mbox

Fix PR55021

Message ID alpine.LNX.2.00.1210221607240.4063@zhemvz.fhfr.qr
State New
Headers show

Commit Message

Richard Biener Oct. 22, 2012, 2:07 p.m. UTC
Somehow bogus truncations slipped through in my LTO overflowed
INTEGER_CST streaming patch.  Oops.

Committed as obvious.

Richard.

2012-10-22  Richard Biener  <rguenther@suse.de>

	PR lto/55021
	* tree-streamer-in.c (unpack_ts_int_cst_value_fields): Remove
	bogus truncations.
diff mbox

Patch

Index: gcc/tree-streamer-in.c
===================================================================
--- gcc/tree-streamer-in.c	(revision 192688)
+++ gcc/tree-streamer-in.c	(working copy)
@@ -146,8 +146,8 @@  unpack_ts_base_value_fields (struct bitp
 static void
 unpack_ts_int_cst_value_fields (struct bitpack_d *bp, tree expr)
 {
-  TREE_INT_CST_LOW (expr) = (unsigned) bp_unpack_var_len_unsigned (bp);
-  TREE_INT_CST_HIGH (expr) = (unsigned) bp_unpack_var_len_int (bp);
+  TREE_INT_CST_LOW (expr) = bp_unpack_var_len_unsigned (bp);
+  TREE_INT_CST_HIGH (expr) = bp_unpack_var_len_int (bp);
 }