summaryrefslogtreecommitdiffstats
path: root/openwrt/toolchain/gcc/3.4.5/72_all_sh-no-reorder-blocks.patch
blob: 8b9826831b1ffa72f429022faa3af9ba56a49b7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- g/gcc/config/sh/sh.h
+++ g/gcc/config/sh/sh.h
@@ -422,6 +422,10 @@
 do {									\
   if (LEVEL)								\
     flag_omit_frame_pointer = -1;					\
+  if (LEVEL <= 2)							\
+    {									\
+      flag_reorder_blocks = 0;						\
+    }									\
   if (SIZE)								\
     target_flags |= SPACE_BIT;						\
   if (TARGET_SHMEDIA && LEVEL > 1)					\