From: Nick Clifton Date: Mon, 30 Dec 2013 17:37:08 +0000 (+0000) Subject: re PR c++/59631 (ICE using _Cilk_spawn without -fcilkplus) X-Git-Tag: releases/gcc-4.9.0~1893 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e1a558374da76485aedf0452d53a26c4092dae9d;p=thirdparty%2Fgcc.git 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 From-SVN: r206250 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 09e0ad22927f..3d2a3d26e4f9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -6,6 +6,13 @@ (permute_vec_elements): Use gimple_get_lhs instead of gimple_assign_lhs. +2013-12-30 Nick Clifton + Peter Bigot + + PR target/59631 + * stor-layout.c (get_mode_bounds): Use GET_MODE_PRECISION instead + of GET_MODE_BITSIZE. + 2013-12-30 Nick Clifton * config/msp430/msp430.c (msp430_print_operand): Rename %B to %b diff --git a/gcc/stor-layout.c b/gcc/stor-layout.c index 675a12386eba..26fa24527442 100644 --- a/gcc/stor-layout.c +++ b/gcc/stor-layout.c @@ -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);