gcc/
* explow.c (plus_constant): Pass "mode" to immed_double_int_const.
Use gen_int_mode rather than GEN_INT.
From-SVN: r198462
+2013-04-30 Richard Sandiford <rsandifo@linux.vnet.ibm.com>
+
+ * explow.c (plus_constant): Pass "mode" to immed_double_int_const.
+ Use gen_int_mode rather than GEN_INT.
+
2013-04-30 H.J. Lu <hongjiu.lu@intel.com>
* value-prof.c (stream_in_histogram_value): Remove the strayed
if (overflow)
gcc_unreachable ();
- return immed_double_int_const (v, VOIDmode);
+ return immed_double_int_const (v, mode);
}
- return GEN_INT (INTVAL (x) + c);
+ return gen_int_mode (INTVAL (x) + c, mode);
case CONST_DOUBLE:
{
To fix, add constant support wider than CONST_DOUBLE. */
gcc_assert (GET_MODE_BITSIZE (mode) <= HOST_BITS_PER_DOUBLE_INT);
- return immed_double_int_const (v, VOIDmode);
+ return immed_double_int_const (v, mode);
}
case MEM: