Commit d07bec95 by Jeffrey Oldham Committed by Jeffrey D. Oldham

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
parent 3719d27b
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.
......
/* 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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment