aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/patches/3.4.5/72_all_sh-no-reorder-blocks.patch
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/gcc/patches/3.4.5/72_all_sh-no-reorder-blocks.patch')
-rw-r--r--toolchain/gcc/patches/3.4.5/72_all_sh-no-reorder-blocks.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/toolchain/gcc/patches/3.4.5/72_all_sh-no-reorder-blocks.patch b/toolchain/gcc/patches/3.4.5/72_all_sh-no-reorder-blocks.patch
new file mode 100644
index 0000000000..8b9826831b
--- /dev/null
+++ b/toolchain/gcc/patches/3.4.5/72_all_sh-no-reorder-blocks.patch
@@ -0,0 +1,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) \