mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-19 21:10:07 +08:00
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
This commit is contained in:
parent
3719d27ba3
commit
d07bec9503
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user