From: Kaz Kojima Date: Wed, 17 Aug 2011 22:49:18 +0000 (+0000) Subject: re PR target/50068 (Invalid memory access in incr_ticks_for_insn) X-Git-Tag: releases/gcc-4.7.0~4418 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b566132b10e510980e362fd2dcdbd97cd80257a6;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f96f6902042c..22200e5ed2e6 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 31d9cfce3ef6..1b81e259476d 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);