]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/config/alpha/alpha.h
re PR target/9700 ([alpha linux] va_start gets __offset wrong in some situations)
authorRichard Henderson <rth@gcc.gnu.org>
Fri, 14 Mar 2003 17:58:48 +0000 (09:58 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Fri, 14 Mar 2003 17:58:48 +0000 (09:58 -0800)
commit35d9c4030288e9b9d99e16ec3213fb5e91ce6113
tree2749ae712f40efb3ba5f78e6b368d1778a0c0c4c
parentf43f4314a1be5a27f1c7319fcefc48dfaf4dd99f
re PR target/9700 ([alpha linux] va_start gets __offset wrong in some situations)

        PR target/9700
        * config/alpha/alpha.c (alpha_va_start): Account for
        current_function_pretend_args_size in the AP offset.

        * config/alpha/alpha.h (SETUP_INCOMING_VARARGS): Move out of line.
        (INITIAL_ELIMINATION_OFFSET): Move out of line.
        * config/alpha/alpha.c (alpha_setup_incoming_varargs): New.
        (alpha_initial_elimination_offset) New.
        * config/alpha/alpha-protos.h: Update.

* gcc.c-torture/execute/va-arg-23.c: New.

From-SVN: r64367
gcc/ChangeLog
gcc/config/alpha/alpha-protos.h
gcc/config/alpha/alpha.c
gcc/config/alpha/alpha.h
gcc/testsuite/gcc.c-torture/execute/va-arg-23.c [new file with mode: 0644]