From b566132b10e510980e362fd2dcdbd97cd80257a6 Mon Sep 17 00:00:00 2001 From: Kaz Kojima Date: Wed, 17 Aug 2011 22:49:18 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/config/sh/sh.c | 4 ---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f96f6902042..22200e5ed2e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-08-17 Kaz Kojima + + PR target/50068 + * config/sh/sh.c (sh_output_mi_thunk): Don't call dbr_schedule. + 2011-08-17 Richard Guenther * tree.h (convert_to_ptrofftype_loc): New function. diff --git a/gcc/config/sh/sh.c b/gcc/config/sh/sh.c index 31d9cfce3ef..1b81e259476 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); -- 2.30.2