Fix gcc.dg/builtin-apply2.c failures:
authorJoern Rennecke <amylaar@gcc.gnu.org>
Tue, 29 Jun 2004 17:37:06 +0000 (18:37 +0100)
committerJoern Rennecke <amylaar@gcc.gnu.org>
Tue, 29 Jun 2004 17:37:06 +0000 (18:37 +0100)
* 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.

[[Split portion of a mixed commit.]]

From-SVN: r83863.2

gcc/ChangeLog

index 36fedf639e9595249cf37915b32a76c1c92cbde8..cfcabd159b62232a9a2ded432d57f5cdac6aeb83 100644 (file)
@@ -1,3 +1,14 @@
+2004-06-29  J"orn Rennecke <joern.rennecke@superh.com>
+
+       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.
+
 2004-06-29  Roger Sayle  <roger@eyesopen.com>
 
        * expmed.c (expand_smod_pow2): Provide alternate implementations