Fix gcc.dg/builtin-apply2.c failures:
authorJoern Rennecke <amylaar@gcc.gnu.org>
Tue, 29 Jun 2004 17:37:13 +0000 (18:37 +0100)
committerJoern Rennecke <amylaar@gcc.gnu.org>
Tue, 29 Jun 2004 17:37:13 +0000 (18:37 +0100)
commit4961683533a0f3dd4ecd4aef5d2084463be1e582
treeb8d2fd39f7ce05496aa22639862e39f75ff480aa
parent8d2fb08dbf478c912b8e098606e18848741ba2a2
Fix gcc.dg/builtin-apply2.c failures:

* sh.h (TARGET_VARARGS_PRETEND_ARGS): Define.
* sh.c (extra_push): Delete.
(sh_expand_prologue): Don't do extra stack adjustment for
current_function_pretend_args_size if it comes from varargs setup.
Use TARGET_VARARGS_PRETEND_ARGS.  Don't set extra_push.
(sh_expand_epilogue): Don't use extra_push.
(sh_setup_incoming_varargs): Set pretend_arg_size when necessary.

From-SVN: r83864
gcc/config/sh/sh.c
gcc/config/sh/sh.h