diff options
author | Jan Hubicka <jh@suse.cz> | 2008-04-03 12:49:27 +0000 |
---|---|---|
committer | H.J. Lu <hongjiu.lu@intel.com> | 2008-04-03 12:49:27 +0000 |
commit | 17a6e19a0832881b9b7fc1d14d44ee90e76e456e (patch) | |
tree | a661582bb7165b9e43a0b7cbef46528c090586cf /gcc/config | |
parent | 8639450da4f352441c99719e58fc72406a6cca76 (diff) |
2008-04-03 Jan Hubicka <jh@suse.cz>
PR tree-optimization/35795
* alpha/alpha.c (alpha_output_mi_thunk_osf): Free after compilation.
* sparc/sparc.c (sparc_output_mi_thunk): Likewise.
* ia64/ia64.c (ia64_output_mi_thunk): Likewise.
* m68k/m68k.c (m68k_output_mi_thunk): Likewise.
* score/score3.c (score3_output_mi_thunk): Likewise.
* score/score7.c (score7_output_mi_thunk): Likewise.
* mips/mips.c (mips_output_mi_thunk): Likewise.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@133868 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/alpha/alpha.c | 1 | ||||
-rw-r--r-- | gcc/config/ia64/ia64.c | 1 | ||||
-rw-r--r-- | gcc/config/m68k/m68k.c | 1 | ||||
-rw-r--r-- | gcc/config/mips/mips.c | 1 | ||||
-rw-r--r-- | gcc/config/score/score3.c | 1 | ||||
-rw-r--r-- | gcc/config/score/score7.c | 1 | ||||
-rw-r--r-- | gcc/config/sparc/sparc.c | 1 |
7 files changed, 7 insertions, 0 deletions
diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c index c5923a392fb..9e650b9ae14 100644 --- a/gcc/config/alpha/alpha.c +++ b/gcc/config/alpha/alpha.c @@ -8339,6 +8339,7 @@ alpha_output_mi_thunk_osf (FILE *file, tree thunk_fndecl ATTRIBUTE_UNUSED, final_start_function (insn, file, 1); final (insn, file, 1); final_end_function (); + free_after_compilation (cfun); } #endif /* TARGET_ABI_OSF */ diff --git a/gcc/config/ia64/ia64.c b/gcc/config/ia64/ia64.c index 270e83d3c3a..ceda8833db3 100644 --- a/gcc/config/ia64/ia64.c +++ b/gcc/config/ia64/ia64.c @@ -9694,6 +9694,7 @@ 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; diff --git a/gcc/config/m68k/m68k.c b/gcc/config/m68k/m68k.c index 142c8aa959e..6160237ede6 100644 --- a/gcc/config/m68k/m68k.c +++ b/gcc/config/m68k/m68k.c @@ -4348,6 +4348,7 @@ 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. */ diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index da8b4aa4c96..861a308ab73 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -11685,6 +11685,7 @@ 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. */ diff --git a/gcc/config/score/score3.c b/gcc/config/score/score3.c index f268cbaf2df..592f5f5a1f7 100644 --- a/gcc/config/score/score3.c +++ b/gcc/config/score/score3.c @@ -382,6 +382,7 @@ 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. */ diff --git a/gcc/config/score/score7.c b/gcc/config/score/score7.c index 34271cc36b2..3c16b0d6173 100644 --- a/gcc/config/score/score7.c +++ b/gcc/config/score/score7.c @@ -381,6 +381,7 @@ 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. */ diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c index c54dbb325ac..54c81b191f4 100644 --- a/gcc/config/sparc/sparc.c +++ b/gcc/config/sparc/sparc.c @@ -8818,6 +8818,7 @@ 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; |