This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Mainline bootstrap failure
- From: Richard Henderson <rth at redhat dot com>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: gcc at gcc dot gnu dot org
- Date: Sat, 31 Aug 2002 14:12:35 -0700
- Subject: Re: Mainline bootstrap failure
- References: <jefzwv6n6l.fsf@sykes.suse.de>
On Sat, Aug 31, 2002 at 05:52:02PM +0200, Andreas Schwab wrote:
> (gdb) p $.common.type
> $3 = (union tree_node *) 0x0
Bother. Looks like I committed the wrong patch. Fixed.
r~
* expr.c (block_move_libcall_safe_for_call_parm): Fix thinko.
Index: expr.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/expr.c,v
retrieving revision 1.479
diff -c -p -d -r1.479 expr.c
*** expr.c 29 Aug 2002 19:19:59 -0000 1.479
--- expr.c 31 Aug 2002 21:10:57 -0000
*************** block_move_libcall_safe_for_call_parm ()
*** 1777,1784 ****
arg = TYPE_ARG_TYPES (TREE_TYPE (fn));
for ( ; arg != void_list_node ; arg = TREE_CHAIN (arg))
{
! enum machine_mode mode
! = TYPE_MODE (TREE_TYPE (TREE_VALUE (arg)));
rtx tmp = FUNCTION_ARG (args_so_far, mode, NULL_TREE, 1);
if (!tmp || !REG_P (tmp))
goto fail_takes_regs;
--- 1777,1783 ----
arg = TYPE_ARG_TYPES (TREE_TYPE (fn));
for ( ; arg != void_list_node ; arg = TREE_CHAIN (arg))
{
! enum machine_mode mode = TYPE_MODE (TREE_VALUE (arg));
rtx tmp = FUNCTION_ARG (args_so_far, mode, NULL_TREE, 1);
if (!tmp || !REG_P (tmp))
goto fail_takes_regs;