OSDN Git Service

Fix gcc.dg/builtin-apply2.c failures:
authoramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 29 Jun 2004 17:37:06 +0000 (17:37 +0000)
committeramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 29 Jun 2004 17:37:06 +0000 (17:37 +0000)
commit1724e9261a007f3f79c596d43a0bb82849fcde47
tree18198400a2d48d0318fb918df3f91705c9aadbd1
parent2333b2bd640fdf9d191f983732d841b3c4458e68
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83863 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog