re PR lto/55021 (The tests gfortran.dg/integer_exponentiation_5.F90 and masklr_1.F90 are miscompiled with -flto after revision 192529)

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

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

From-SVN: r192691
This commit is contained in:
Richard Biener 2012-10-22 14:10:06 +00:00 committed by Richard Biener
parent f5798785de
commit 4caaa4621a
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2012-10-22 Richard Biener <rguenther@suse.de>
PR lto/55021
* tree-streamer-in.c (unpack_ts_int_cst_value_fields): Remove
bogus truncations.
2012-10-22 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.c (memory_address_length): Assert that non-null

View File

@ -146,8 +146,8 @@ unpack_ts_base_value_fields (struct bitpack_d *bp, tree expr)
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);
}