aboutsummaryrefslogtreecommitdiff
path: root/gcc/stor-layout.c
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>1999-12-20 19:47:58 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>1999-12-20 19:47:58 +0000
commit11a6092b63419880d75a7910db03a35a4bea5e2c (patch)
treedf4e35c9416a87c2a6d37f1c68342964bc423d75 /gcc/stor-layout.c
parent2d447b1e3bcd9c55e0c448bfbb22e344427c567e (diff)
downloadgcc-11a6092b63419880d75a7910db03a35a4bea5e2c.zip
gcc-11a6092b63419880d75a7910db03a35a4bea5e2c.tar.gz
gcc-11a6092b63419880d75a7910db03a35a4bea5e2c.tar.bz2
Makefile.in (explow.o): Depend on function.h.
* Makefile.in (explow.o): Depend on function.h. * stor-layout.c (set_sizetype): Fix typo. From-SVN: r31036
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;