Openwrt/openwrt/toolchain/gcc/3.4.5/72_all_sh-no-reorder-blocks.patch
Imre Kaloz 1292e7f07d add gcc 3.4.5
SVN-Revision: 2695
2005-12-16 11:36:33 +00:00

14 lines
354 B
Diff

--- 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) \