summaryrefslogtreecommitdiff
path: root/gcc/stor-layout.c
diff options
context:
space:
mode:
authornickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>2013-12-30 17:37:08 +0000
committernickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>2013-12-30 17:37:08 +0000
commit44a9bb76e9a99aa7bc5c8b65066f4f0b910af20f (patch)
tree2e8f2c0f946c2b746ac448c486fb261ad2cbacc6 /gcc/stor-layout.c
parent92b18bc08101bcc6b167c0bf0e1532fa334f1c78 (diff)
downloadgcc-44a9bb76e9a99aa7bc5c8b65066f4f0b910af20f.tar.gz
PR target/59631
* stor-layout.c (get_mode_bounds): Use GET_MODE_PRECISION instead of GET_MODE_BITSIZE. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206250 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/stor-layout.c')
-rw-r--r--gcc/stor-layout.c2
1 files changed, 1 insertions, 1 deletions
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);