Fix -O3 stdarg miscompilation.
commit66a0dfebeb72645cdabc9661b7cdf2567be23d2a
authorJim Wilson <wilson@redhat.com>
Fri, 20 Sep 2002 19:15:53 +0000 (20 19:15 +0000)
committerJim Wilson <wilson@gcc.gnu.org>
Fri, 20 Sep 2002 19:15:53 +0000 (20 12:15 -0700)
treea46c4de85703bc87397ddc44d8a056e0473daad0
parentf51eee6af1e5d1ed24a317d27e67cb3261d68d4e
Fix -O3 stdarg miscompilation.

* config/v850/v850.c (current_function_anonymous_args): Delete.
(expand_prologue): Use current_function_args_info.anonymous_args.
(expand_epilogue): Delete use of current_function_anonymous_args.
* config/v850/v850.h (struct cum_arg): Add anonymous_args field.
(INIT_CUMULATIVE_ARGS): Clear anonymous_args field.
(current_function_anonymous_args): Delete extern declaration.
(SETUP_INCOMING_VARARGS): Set anonymous_args field.

From-SVN: r57363
gcc/ChangeLog
gcc/config/v850/v850.c
gcc/config/v850/v850.h