aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cp/ChangeLog4
-rw-r--r--gcc/cp/method.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 574918b..f935d4e 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,7 @@
+2005-08-06 Michael Matz <matz@suse.de>
+
+ * method.c (use_thunk): Call init_insn_lengths.
+
2005-08-05 James A. Morrison <phython@gcc.gnu.org>
PR c++/22514
diff --git a/gcc/cp/method.c b/gcc/cp/method.c
index 3da93ad..d68423c 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;