aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKaz Kojima <kkojima@gcc.gnu.org>2011-08-17 22:49:18 +0000
committerKaz Kojima <kkojima@gcc.gnu.org>2011-08-17 22:49:18 +0000
commitb566132b10e510980e362fd2dcdbd97cd80257a6 (patch)
tree1012a2b07d56634f9c3c572f9819d26fa4a044f6 /gcc
parentdbad8e7176ee00dc98bf84bb41a1b5439d4f4d1f (diff)
downloadgcc-b566132b10e510980e362fd2dcdbd97cd80257a6.zip
gcc-b566132b10e510980e362fd2dcdbd97cd80257a6.tar.gz
gcc-b566132b10e510980e362fd2dcdbd97cd80257a6.tar.bz2
re PR target/50068 (Invalid memory access in incr_ticks_for_insn)
PR target/50068 * config/sh/sh.c (sh_output_mi_thunk): Don't call dbr_schedule. From-SVN: r177839
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/sh/sh.c4
2 files changed, 5 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f96f690..22200e5 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2011-08-17 Kaz Kojima <kkojima@gcc.gnu.org>
+
+ PR target/50068
+ * config/sh/sh.c (sh_output_mi_thunk): Don't call dbr_schedule.
+
2011-08-17 Richard Guenther <rguenther@suse.de>
* tree.h (convert_to_ptrofftype_loc): New function.
diff --git a/gcc/config/sh/sh.c b/gcc/config/sh/sh.c
index 31d9cfc..1b81e25 100644
--- a/gcc/config/sh/sh.c
+++ b/gcc/config/sh/sh.c
@@ -11711,10 +11711,6 @@ sh_output_mi_thunk (FILE *file, tree thunk_fndecl ATTRIBUTE_UNUSED,
}
sh_reorg ();
-
- if (optimize > 0 && flag_delayed_branch)
- dbr_schedule (insns);
-
shorten_branches (insns);
final_start_function (insns, file, 1);
final (insns, file, 1);