re PR target/50068 (Invalid memory access in incr_ticks_for_insn)
authorKaz Kojima <kkojima@gcc.gnu.org>
Wed, 17 Aug 2011 22:49:18 +0000 (22:49 +0000)
committerKaz Kojima <kkojima@gcc.gnu.org>
Wed, 17 Aug 2011 22:49:18 +0000 (22:49 +0000)
PR target/50068
* config/sh/sh.c (sh_output_mi_thunk): Don't call dbr_schedule.

From-SVN: r177839

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

index f96f690..22200e5 100644 (file)
@@ -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.
index 31d9cfc..1b81e25 100644 (file)
@@ -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);