OSDN Git Service

* config/sh/sh.c (sh_output_mi_thunk): Free cfun.
authorkkojima <kkojima@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 3 Apr 2008 09:07:17 +0000 (09:07 +0000)
committerkkojima <kkojima@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 3 Apr 2008 09:07:17 +0000 (09:07 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@133865 138bc75d-0d04-0410-961f-82ee72b054a4

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

index e874ac4..764c6fc 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 8bba322..fe25997 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;