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