diff options
author | Jeffrey Oldham <oldham@codesourcery.com> | 2001-01-02 16:09:56 +0000 |
---|---|---|
committer | Jeffrey D. Oldham <oldham@gcc.gnu.org> | 2001-01-02 16:09:56 +0000 |
commit | d07bec9503c4dbd14944d2ed6b04e000643450c7 (patch) | |
tree | d588d184e9002a50d97566ca5b4776823b6bdb73 | |
parent | 3719d27ba35d39207d4b6be8034b894614207136 (diff) | |
download | gcc-d07bec9503c4dbd14944d2ed6b04e000643450c7.zip gcc-d07bec9503c4dbd14944d2ed6b04e000643450c7.tar.gz gcc-d07bec9503c4dbd14944d2ed6b04e000643450c7.tar.bz2 |
mips.c (function_arg): Don't pass NULL_TREE to host_integerp.
2001-01-02 Jeffrey Oldham <oldham@codesourcery.com>
* config/mips/mips.c (function_arg): Don't pass NULL_TREE to
host_integerp.
From-SVN: r38627
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/mips/mips.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4f19601..3dece5f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2001-01-02 Jeffrey Oldham <oldham@codesourcery.com> + * config/mips/mips.c (function_arg): Don't pass NULL_TREE to + host_integerp. + +2001-01-02 Jeffrey Oldham <oldham@codesourcery.com> + * tm.texi (FUNCTION_ARG): Document that @var{type} can be an incomplete type. diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index 2f66d2a..381001d 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -1,6 +1,6 @@ /* Subroutines for insn-output.c for MIPS Copyright (C) 1989, 1990, 1991, 1993, 1994, 1995, 1996, 1997, 1998, - 1999, 2000 Free Software Foundation, Inc. + 1999, 2000, 2001 Free Software Foundation, Inc. Contributed by A. Lichnewsky, lich@inria.inria.fr. Changes by Michael Meissner, meissner@osf.org. 64 bit r4000 support by Ian Lance Taylor, ian@cygnus.com, and @@ -4036,6 +4036,7 @@ function_arg (cum, mode, type, named) if (! type || TREE_CODE (type) != RECORD_TYPE || mips_abi == ABI_32 || mips_abi == ABI_EABI || mips_abi == ABI_O64 || ! named + || ! TYPE_SIZE_UNIT (type) || ! host_integerp (TYPE_SIZE_UNIT (type), 1)) ret = gen_rtx_REG (mode, regbase + *arg_words + bias); else |