mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-25 09:25:27 +08:00
method.c (use_thunk): Call free_after_compilation after assemble_end_function.
* method.c (use_thunk): Call free_after_compilation after assemble_end_function. * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Don't call free_after_compilation. * config/score/score7.c (score7_output_mi_thunk): Likewise. * config/score/score3.c (score3_output_mi_thunk): Likewise. * config/ia64/ia64.c (ia64_output_mi_thunk): Likewise. * config/mips/mips.c (mips_output_mi_thunk): Likewise. * config/sh/sh.c (sh_output_mi_thunk): Likewise. * config/m68k/m68k.c (m68k_output_mi_thunk): Likewise. * config/sparc/sparc.c (sparc_output_mi_thunk): Likewise. From-SVN: r150938
This commit is contained in:
parent
9302a06142
commit
dc0c6451cd
@ -1,3 +1,15 @@
|
||||
2009-08-19 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* config/rs6000/rs6000.c (rs6000_output_mi_thunk): Don't call
|
||||
free_after_compilation.
|
||||
* config/score/score7.c (score7_output_mi_thunk): Likewise.
|
||||
* config/score/score3.c (score3_output_mi_thunk): Likewise.
|
||||
* config/ia64/ia64.c (ia64_output_mi_thunk): Likewise.
|
||||
* config/mips/mips.c (mips_output_mi_thunk): Likewise.
|
||||
* config/sh/sh.c (sh_output_mi_thunk): Likewise.
|
||||
* config/m68k/m68k.c (m68k_output_mi_thunk): Likewise.
|
||||
* config/sparc/sparc.c (sparc_output_mi_thunk): Likewise.
|
||||
|
||||
2009-08-19 Ian Lance Taylor <iant@google.com>
|
||||
|
||||
* doc/md.texi (Insn Canonicalizations): Correct canonicalization
|
||||
|
@ -10288,7 +10288,6 @@ ia64_output_mi_thunk (FILE *file, tree thunk ATTRIBUTE_UNUSED,
|
||||
final_start_function (insn, file, 1);
|
||||
final (insn, file, 1);
|
||||
final_end_function ();
|
||||
free_after_compilation (cfun);
|
||||
|
||||
reload_completed = 0;
|
||||
epilogue_completed = 0;
|
||||
|
@ -5026,7 +5026,6 @@ m68k_output_mi_thunk (FILE *file, tree thunk ATTRIBUTE_UNUSED,
|
||||
/* Restore the original PIC register. */
|
||||
if (flag_pic)
|
||||
SET_REGNO (pic_offset_table_rtx, PIC_REG);
|
||||
free_after_compilation (cfun);
|
||||
}
|
||||
|
||||
/* Worker function for TARGET_STRUCT_VALUE_RTX. */
|
||||
|
@ -13942,7 +13942,6 @@ mips_output_mi_thunk (FILE *file, tree thunk_fndecl ATTRIBUTE_UNUSED,
|
||||
final_start_function (insn, file, 1);
|
||||
final (insn, file, 1);
|
||||
final_end_function ();
|
||||
free_after_compilation (cfun);
|
||||
|
||||
/* Clean up the vars set above. Note that final_end_function resets
|
||||
the global pointer for us. */
|
||||
|
@ -20117,7 +20117,6 @@ rs6000_output_mi_thunk (FILE *file, tree thunk_fndecl ATTRIBUTE_UNUSED,
|
||||
final_start_function (insn, file, 1);
|
||||
final (insn, file, 1);
|
||||
final_end_function ();
|
||||
free_after_compilation (cfun);
|
||||
|
||||
reload_completed = 0;
|
||||
epilogue_completed = 0;
|
||||
|
@ -380,7 +380,6 @@ score3_output_mi_thunk (FILE *file, tree thunk_fndecl ATTRIBUTE_UNUSED,
|
||||
final_start_function (insn, file, 1);
|
||||
final (insn, file, 1);
|
||||
final_end_function ();
|
||||
free_after_compilation (cfun);
|
||||
|
||||
/* Clean up the vars set above. Note that final_end_function resets
|
||||
the global pointer for us. */
|
||||
|
@ -379,7 +379,6 @@ score7_output_mi_thunk (FILE *file, tree thunk_fndecl ATTRIBUTE_UNUSED,
|
||||
final_start_function (insn, file, 1);
|
||||
final (insn, file, 1);
|
||||
final_end_function ();
|
||||
free_after_compilation (cfun);
|
||||
|
||||
/* Clean up the vars set above. Note that final_end_function resets
|
||||
the global pointer for us. */
|
||||
|
@ -11282,7 +11282,6 @@ sh_output_mi_thunk (FILE *file, tree thunk_fndecl ATTRIBUTE_UNUSED,
|
||||
final_start_function (insns, file, 1);
|
||||
final (insns, file, 1);
|
||||
final_end_function ();
|
||||
free_after_compilation (cfun);
|
||||
|
||||
reload_completed = 0;
|
||||
epilogue_completed = 0;
|
||||
|
@ -8942,7 +8942,6 @@ sparc_output_mi_thunk (FILE *file, tree thunk_fndecl ATTRIBUTE_UNUSED,
|
||||
final_start_function (insn, file, 1);
|
||||
final (insn, file, 1);
|
||||
final_end_function ();
|
||||
free_after_compilation (cfun);
|
||||
|
||||
reload_completed = 0;
|
||||
epilogue_completed = 0;
|
||||
|
@ -1,3 +1,8 @@
|
||||
2009-08-19 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* method.c (use_thunk): Call free_after_compilation after
|
||||
assemble_end_function.
|
||||
|
||||
2009-08-17 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
* decl.c (build_ptrmemfunc_type): Keep variant chain intact.
|
||||
|
@ -450,6 +450,7 @@ use_thunk (tree thunk_fndecl, bool emit_p)
|
||||
|
||||
assemble_end_function (thunk_fndecl, fnname);
|
||||
init_insn_lengths ();
|
||||
free_after_compilation (cfun);
|
||||
current_function_decl = 0;
|
||||
set_cfun (NULL);
|
||||
TREE_ASM_WRITTEN (thunk_fndecl) = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user