From ed48174c545ab4a2fe0414de4ff9fa9615618aef Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Wed, 24 Jun 1998 17:47:46 -0700 Subject: 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 --- gcc/cp/ChangeLog | 5 +++++ gcc/cp/method.c | 1 + 2 files changed, 6 insertions(+) (limited to 'gcc') 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 + + * method.c (emit_thunk): Set current_function_is_thunk for the + ASM_OUTPUT_MI_THUNK case as well. + 1998-06-23 Andrew MacLeod * 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); -- cgit v1.1