This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [bootstrap failure on 3.2 branch] Re: PATCH to avoid copyingtail padding


Jason Merrill writes:
> Does this (untested) patch happen to fix the problem?

yes. thanks! tested with rebuilding cc1plus and locale-inst.o


> *** calls.c.~1~	Fri Aug 30 20:34:24 2002
> --- calls.c	Tue Sep 10 13:37:50 2002
> *************** store_one_arg (arg, argblock, flags, var
> *** 4512,4518 ****
>   	     emit_push_insn for BLKmode is careful to avoid it.  */
>   	  excess = (arg->size.constant - int_size_in_bytes (TREE_TYPE (pval))
>   		    + partial * UNITS_PER_WORD);
> ! 	  size_rtx = expr_size (pval);
>   	}
>   
>         if ((flags & ECF_SIBCALL) && GET_CODE (arg->value) == MEM)
> --- 4512,4519 ----
>   	     emit_push_insn for BLKmode is careful to avoid it.  */
>   	  excess = (arg->size.constant - int_size_in_bytes (TREE_TYPE (pval))
>   		    + partial * UNITS_PER_WORD);
> ! 	  size_rtx = expand_expr (size_in_bytes (TREE_TYPE (pval)),
> ! 				  NULL_RTX, TYPE_MODE (sizetype), 0);
>   	}
>   
>         if ((flags & ECF_SIBCALL) && GET_CODE (arg->value) == MEM)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]