summaryrefslogtreecommitdiff
path: root/gcc/stor-layout.c
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>1999-12-20 19:47:58 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>1999-12-20 19:47:58 +0000
commita5fb14bd147aa00d6bb9c2904e085483976e4094 (patch)
treedf4e35c9416a87c2a6d37f1c68342964bc423d75 /gcc/stor-layout.c
parentbeb8106d9b2ca3aa2ab3b3e06e657ea409a68d9c (diff)
downloadgcc-a5fb14bd147aa00d6bb9c2904e085483976e4094.tar.gz
* Makefile.in (explow.o): Depend on function.h.
* stor-layout.c (set_sizetype): Fix typo. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31036 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 cbc86728008..9cddc5396f7 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;