aboutsummaryrefslogtreecommitdiff
path: root/gcc/stor-layout.c
diff options
context:
space:
mode:
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 cbc8672..9cddc53 100644
--- a/gcc/stor-layout.c
+++ b/gcc/stor-layout.c
@@ -1316,7 +1316,7 @@ set_sizetype (type)
calculating signed sizes / offsets in bits. However, when
cross-compiling from a 32 bit to a 64 bit host, we are limited to 64 bit
precision. */
- int precision = MAX (oprecision + BITS_PER_UNIT_LOG + 1,
+ int precision = MIN (oprecision + BITS_PER_UNIT_LOG + 1,
2 * HOST_BITS_PER_WIDE_INT);
sizetype = type;