sh.c (sh_output_mi_thunk): Update the use of init_flow.
authorKaz Kojima <kkojima@gcc.gnu.org>
Sat, 17 May 2008 23:27:27 +0000 (23:27 +0000)
committerKaz Kojima <kkojima@gcc.gnu.org>
Sat, 17 May 2008 23:27:27 +0000 (23:27 +0000)
* config/sh/sh.c (sh_output_mi_thunk): Update the use of
init_flow.

From-SVN: r135483

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

index 633a336c3d81268156c669937b61aba17ad66106..3aa3255b6f91d796924261e081cd9e67f6a18676 100644 (file)
@@ -1,3 +1,8 @@
+2008-05-17  Kaz Kojima  <kkojima@gcc.gnu.org>
+
+       * config/sh/sh.c (sh_output_mi_thunk): Update the use of
+       init_flow.
+
 2008-05-17  Eric Botcazou  <ebotcazou@adacore.com>
 
        * tree-inline.c (setup_one_parameter): Remove dead code.
index 67301c969adb7c742ebf41fcab95993272bd4370..a41783de91bf9d68ccab9636115f4f5f3d2faffb 100644 (file)
@@ -10522,7 +10522,7 @@ sh_output_mi_thunk (FILE *file, tree thunk_fndecl ATTRIBUTE_UNUSED,
   if (optimize > 0)
     {
       if (! cfun->cfg)
-       init_flow ();
+       init_flow (cfun);
       split_all_insns_noflow ();
     }
 #endif