* config/sh/sh.c (sh_output_mi_thunk): Free cfun.
authorKaz Kojima <kkojima@gcc.gnu.org>
Thu, 3 Apr 2008 09:07:17 +0000 (09:07 +0000)
committerKaz Kojima <kkojima@gcc.gnu.org>
Thu, 3 Apr 2008 09:07:17 +0000 (09:07 +0000)
From-SVN: r133865

gcc/ChangeLog
gcc/config/sh/sh.c

index e874ac4000cc03739183e0ec9cb5b3589ffc06ca..764c6fc9cbfe2dd91ec4af4e93f2c87d882ceff2 100644 (file)
@@ -1,3 +1,7 @@
+2008-04-03  Kaz Kojima  <kkojima@gcc.gnu.org>
+
+       * config/sh/sh.c (sh_output_mi_thunk): Free cfun.
+
 2008-04-03  Tom Tromey  <tromey@redhat.com>
            Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
index 8bba3228a7cbf12edb48c4a629031825cd5ba62f..fe2599769d369e7dc2ce83e06eebf8adac0af6cc 100644 (file)
@@ -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;