aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 09e0ad2..3d2a3d2 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 675a123..26fa245 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);