aboutsummaryrefslogtreecommitdiff
path: root/gcc
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
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')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/Makefile.in2
-rw-r--r--gcc/stor-layout.c2
3 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 19ce906..7fd1f1a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+1999-12-20 Mark Mitchell <mark@codesourcery.com>
+
+ * Makefile.in (explow.o): Depend on function.h.
+
+ * stor-layout.c (set_sizetype): Fix typo.
+
1999-12-20 Bernd Schmidt <bernds@cygnus.co.uk>
* function.c (cfun): Renamed from current_function. All users
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index d138180..327b061 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -1507,7 +1507,7 @@ expmed.o : expmed.c $(CONFIG_H) system.h $(RTL_H) $(TREE_H) flags.h \
insn-flags.h insn-config.h insn-codes.h $(EXPR_H) $(RECOG_H) real.h toplev.h
explow.o : explow.c $(CONFIG_H) system.h $(RTL_H) $(TREE_H) flags.h \
hard-reg-set.h insn-config.h $(EXPR_H) $(RECOG_H) insn-flags.h \
- insn-codes.h toplev.h
+ insn-codes.h toplev.h function.h
optabs.o : optabs.c $(CONFIG_H) system.h $(RTL_H) $(TREE_H) flags.h \
insn-flags.h insn-config.h insn-codes.h $(EXPR_H) $(RECOG_H) reload.h \
toplev.h ggc.h
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;