]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR c++/59631 (ICE using _Cilk_spawn without -fcilkplus)
authorNick Clifton <nickc@redhat.com>
Mon, 30 Dec 2013 17:37:08 +0000 (17:37 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Mon, 30 Dec 2013 17:37:08 +0000 (17:37 +0000)
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

gcc/ChangeLog
gcc/stor-layout.c

index 09e0ad22927f8d5edf17bccdb190270a78fdb97d..3d2a3d26e4f94b3578e632fecfda90f6eb4d3fec 100644 (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
index 675a12386eba59495789f4d4981a3e5dc05bd6e0..26fa245274426aecd3a2aa89929391d10b613c0e 100644 (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);