From 2a7428c0c57b74cb4f0d7b497ec870132a3fb5d7 Mon Sep 17 00:00:00 2001 From: Kaz Kojima Date: Thu, 3 Apr 2008 09:07:17 +0000 Subject: [PATCH] * config/sh/sh.c (sh_output_mi_thunk): Free cfun. From-SVN: r133865 --- gcc/ChangeLog | 4 ++++ gcc/config/sh/sh.c | 1 + 2 files changed, 5 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e874ac4000c..764c6fc9cbf 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2008-04-03 Kaz Kojima + + * config/sh/sh.c (sh_output_mi_thunk): Free cfun. + 2008-04-03 Tom Tromey Ralf Wildenhues diff --git a/gcc/config/sh/sh.c b/gcc/config/sh/sh.c index 8bba3228a7c..fe2599769d3 100644 --- a/gcc/config/sh/sh.c +++ b/gcc/config/sh/sh.c @@ -10513,6 +10513,7 @@ 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; -- 2.30.2