summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2013-12-30 17:37:08 +0000
committerNick Clifton <nickc@gcc.gnu.org>2013-12-30 17:37:08 +0000
commite1a558374da76485aedf0452d53a26c4092dae9d (patch)
tree2e8f2c0f946c2b746ac448c486fb261ad2cbacc6
parent6bd5968441b9cc3b46ee266c03062ac4d7b7e154 (diff)
downloadgcc-e1a558374da76485aedf0452d53a26c4092dae9d.tar.gz
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
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/stor-layout.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 09e0ad22927..3d2a3d26e4f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -7,6 +7,13 @@
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
and %A to %Q. Add %A, %B, %C and %D as selectors for 16-bit parts
diff --git a/gcc/stor-layout.c b/gcc/stor-layout.c
index 675a12386eb..26fa2452744 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);