alpha.c (current_function_is_thunk): Don't check current_function_is_thunk.
authorRichard Henderson <rth@redhat.com>
Mon, 4 Feb 2002 17:44:26 +0000 (09:44 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Mon, 4 Feb 2002 17:44:26 +0000 (09:44 -0800)
commit14691f8d24c7971bd09d3263a96758574946a6e5
tree00e69406554780de155cc3cfc05ce57cf2a19f1f
parent8d9d2e1df75bbf81c68ea846d27dbfb53a309488
alpha.c (current_function_is_thunk): Don't check current_function_is_thunk.

        * config/alpha/alpha.c (current_function_is_thunk): Don't check
        current_function_is_thunk.
        (alpha_sa_mask): Distinguish between current_function_is_thunk
        called from ASM_OUTPUT_MI_THUNK and not.
        (alpha_does_function_need_gp): Thunks always need gp.
        (alpha_start_function, alpha_output_function_end_prologue): Likewise.
        (alpha_output_mi_thunk_osf): New.
        * config/alpha/alpha-protos.h: Update.
        * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): New.

cp/
        * method.c (use_thunk): Always initialize the block tree.  Reindent.
        * semantics.c (expand_body): Emit thunks after function, not before.

From-SVN: r49484
gcc/ChangeLog
gcc/config/alpha/alpha-protos.h
gcc/config/alpha/alpha.c
gcc/config/alpha/alpha.h
gcc/cp/ChangeLog
gcc/cp/method.c
gcc/cp/semantics.c