re PR c++/59631 (ICE using _Cilk_spawn without -fcilkplus)

PR target/59631
	* stor-layout.c (get_mode_bounds): Use GET_MODE_PRECISION instead
	of GET_MODE_BITSIZE.

Co-Authored-By: Peter Bigot <bigotp@acm.org>

From-SVN: r206250
This commit is contained in:
Nick Clifton 2013-12-30 17:37:08 +00:00 committed by Nick Clifton
parent 6bd5968441
commit e1a558374d
2 changed files with 8 additions and 1 deletions

View File

@ -6,6 +6,13 @@
(permute_vec_elements): Use gimple_get_lhs instead of
gimple_assign_lhs.
2013-12-30 Nick Clifton <nickc@redhat.com>
Peter Bigot <bigotp@acm.org>
PR target/59631
* stor-layout.c (get_mode_bounds): Use GET_MODE_PRECISION instead
of GET_MODE_BITSIZE.
2013-12-30 Nick Clifton <nickc@redhat.com>
* config/msp430/msp430.c (msp430_print_operand): Rename %B to %b

View File

@ -2816,7 +2816,7 @@ get_mode_bounds (enum machine_mode mode, int sign,
enum machine_mode target_mode,
rtx *mmin, rtx *mmax)
{
unsigned size = GET_MODE_BITSIZE (mode);
unsigned size = GET_MODE_PRECISION (mode);
unsigned HOST_WIDE_INT min_val, max_val;
gcc_assert (size <= HOST_BITS_PER_WIDE_INT);