summaryrefslogtreecommitdiff
path: root/gcc/cp/method.c
diff options
context:
space:
mode:
authorMichael Matz <matz@suse.de>2005-08-06 21:25:09 +0000
committerMichael Matz <matz@gcc.gnu.org>2005-08-06 21:25:09 +0000
commit8402b3e18ae02468e0af883e5059997cdbf7715d (patch)
tree0115c3347ad66bebf01d7d5494356878ebad89c4 /gcc/cp/method.c
parent3e0a6ca6aea49b54733303a7be6bb64b261937ea (diff)
downloadgcc-8402b3e18ae02468e0af883e5059997cdbf7715d.tar.gz
* method.c (use_thunk): Call init_insn_lengths.
From-SVN: r102817
Diffstat (limited to 'gcc/cp/method.c')
-rw-r--r--gcc/cp/method.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cp/method.c b/gcc/cp/method.c
index 3da93ad139f..d68423ce8fe 100644
--- a/gcc/cp/method.c
+++ b/gcc/cp/method.c
@@ -441,6 +441,7 @@ use_thunk (tree thunk_fndecl, bool emit_p)
fixed_offset, virtual_value, alias);
assemble_end_function (thunk_fndecl, fnname);
+ init_insn_lengths ();
current_function_decl = 0;
cfun = 0;
TREE_ASM_WRITTEN (thunk_fndecl) = 1;