aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaz Kojima <kkojima@gcc.gnu.org>2008-05-17 23:27:27 +0000
committerKaz Kojima <kkojima@gcc.gnu.org>2008-05-17 23:27:27 +0000
commiteb6cbf915086d532b6accf672a9e2a44ff456c32 (patch)
treeba60a4847940d2e862d2f35c74edbe440caebb76
parent7d4cf3d977cd8809f5a4e692e0aebd572d701238 (diff)
downloadgcc-eb6cbf915086d532b6accf672a9e2a44ff456c32.zip
gcc-eb6cbf915086d532b6accf672a9e2a44ff456c32.tar.gz
gcc-eb6cbf915086d532b6accf672a9e2a44ff456c32.tar.bz2
sh.c (sh_output_mi_thunk): Update the use of init_flow.
* config/sh/sh.c (sh_output_mi_thunk): Update the use of init_flow. From-SVN: r135483
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/sh/sh.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 633a336..3aa3255 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/sh/sh.c b/gcc/config/sh/sh.c
index 67301c9..a41783d 100644
--- a/gcc/config/sh/sh.c
+++ b/gcc/config/sh/sh.c
@@ -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