Wed Jun 24 04:50:00 GMT 1998
[ Well, not prologues in the sense of code, but in the sense of
complex asm pseudos to get the function going. ]
Due to some recent changes in the way alpha prologues (actual code)
are handled, the surrounding non-code bits have been (or will be)
shifted around, some into things called from assemble_function_start.
This affects the environment of ASM_OUTPUT_MI_THUNK.
I'd like to suggest the following change, so that my non-code bits
can notice and do the right thing.
* method.c (emit_thunk): Set current_function_is_thunk for the
ASM_OUTPUT_MI_THUNK case as well.
RCS file: /egcs/carton/cvsfiles/egcs/gcc/cp/method.c,v
retrieving revision 1.58
diff -u -p -r1.58 method.c
--- method.c 1998/06/17 02:07:20 1.58
+++ method.c 1998/06/24 11:42:01
@@ -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);
More information about the Gcc-patches