diff options
author | Richard Henderson <rth@cygnus.com> | 1998-06-24 17:47:46 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 1998-06-24 17:47:46 -0700 |
commit | ed48174c545ab4a2fe0414de4ff9fa9615618aef (patch) | |
tree | b6a89baf79f0c145bdaccc745026d47a058cf0ba /gcc | |
parent | 5e111b5eef5ba6db183c86344961523c3f79ae05 (diff) | |
download | gcc-ed48174c545ab4a2fe0414de4ff9fa9615618aef.zip gcc-ed48174c545ab4a2fe0414de4ff9fa9615618aef.tar.gz gcc-ed48174c545ab4a2fe0414de4ff9fa9615618aef.tar.bz2 |
method.c (emit_thunk): Set current_function_is_thunk for the ASM_OUTPUT_MI_THUNK case as well.
* method.c (emit_thunk): Set current_function_is_thunk for the
ASM_OUTPUT_MI_THUNK case as well.
From-SVN: r20708
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/cp/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/cp/method.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index dfb496d..54521a3 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +1998-06-25 Richard Henderson <rth@cygnus.com> + + * method.c (emit_thunk): Set current_function_is_thunk for the + ASM_OUTPUT_MI_THUNK case as well. + 1998-06-23 Andrew MacLeod <amacleod@cygnus.com> * exception.cc (__cplus_type_matcher): Get a match_info pointer diff --git a/gcc/cp/method.c b/gcc/cp/method.c index d6d39c2..caadcb9 100644 --- a/gcc/cp/method.c +++ b/gcc/cp/method.c @@ -2006,6 +2006,7 @@ emit_thunk (thunk_fndecl) = build_decl (RESULT_DECL, 0, integer_type_node); fnname = XSTR (XEXP (DECL_RTL (thunk_fndecl), 0), 0); init_function_start (thunk_fndecl, input_filename, lineno); + current_function_is_thunk = 1; assemble_start_function (thunk_fndecl, fnname); ASM_OUTPUT_MI_THUNK (asm_out_file, thunk_fndecl, delta, function); assemble_end_function (thunk_fndecl, fnname); |