From: Jason Merrill Date: Fri, 7 Nov 1997 19:57:13 +0000 (+0000) Subject: * method.c (emit_thunk): Don't let the backend defer generic thunks. X-Git-Tag: releases/egcs-1.0.0~154 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11f8059d787d040138e2ef94640a2e74c1af91b8;p=thirdparty%2Fgcc.git * method.c (emit_thunk): Don't let the backend defer generic thunks. From-SVN: r16360 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 9a5d1f9be98e..f2825d72eafc 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +Thu Nov 6 11:28:14 1997 Jason Merrill + + * method.c (emit_thunk): Don't let the backend defer generic thunks. + Wed Nov 5 23:52:50 1997 Jason Merrill * except.c (call_eh_info): Split out... diff --git a/gcc/cp/method.c b/gcc/cp/method.c index 3b7dbc833a37..0e407fe1ab8c 100644 --- a/gcc/cp/method.c +++ b/gcc/cp/method.c @@ -1927,6 +1927,13 @@ emit_thunk (thunk_fndecl) c_expand_return (t); finish_function (lineno, 0, 0); + + /* Don't let the backend defer this function. */ + if (DECL_DEFER_OUTPUT (thunk_fndecl)) + { + output_inline_function (thunk_fndecl); + permanent_allocation (1); + } #endif /* ASM_OUTPUT_MI_THUNK */ }