Message ID | 20140522080636.GY10386@tucnak.redhat.com |
---|---|
State | New |
Headers | show |
--- gcc/tree-streamer-in.c.jj 2014-05-20 16:37:05.000000000 +0200 +++ gcc/tree-streamer-in.c 2014-05-22 09:40:01.300112220 +0200 @@ -168,6 +168,9 @@ unpack_ts_real_cst_value_fields (struct REAL_VALUE_TYPE r; REAL_VALUE_TYPE *rp; + /* Clear all bits of the real value type so that we can later do + bitwise comparisons to see if two values are the same. */ + memset (&r, 0, sizeof r); r.cl = (unsigned) bp_unpack_value (bp, 2); r.decimal = (unsigned) bp_unpack_value (bp, 1); r.sign = (unsigned) bp_unpack_value (bp, 1);