]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* method.c (use_thunk): Call init_insn_lengths.
authorMichael Matz <matz@suse.de>
Sat, 6 Aug 2005 21:25:09 +0000 (21:25 +0000)
committerMichael Matz <matz@gcc.gnu.org>
Sat, 6 Aug 2005 21:25:09 +0000 (21:25 +0000)
From-SVN: r102817

gcc/cp/ChangeLog
gcc/cp/method.c

index 574918b60bf2f7bac4805a625163c7c288d4065f..f935d4e89dc4e9f3777c0ebd83dd72a135cee3fe 100644 (file)
@@ -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
index 3da93ad139ffc4694d427583fda7ad6018810b5a..d68423ce8fe26c08bc1dd4f75f84ab64b1b78423 100644 (file)
@@ -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;