Commit 528a7d22 by Bob Wilson Committed by Bob Wilson

xtensa.h (OPTIMIZATION_OPTIONS): Define to disable flag_reorder_blocks.

	* config/xtensa/xtensa.h (OPTIMIZATION_OPTIONS): Define to disable
	flag_reorder_blocks.

From-SVN: r99000
parent d5448566
2005-04-29 Bob Wilson <bob.wilson@acm.org>
* config/xtensa/xtensa.h (OPTIMIZATION_OPTIONS): Define to disable
flag_reorder_blocks.
2005-04-28 Kazu Hirata <kazu@cs.umass.edu> 2005-04-28 Kazu Hirata <kazu@cs.umass.edu>
PR tree-optimization/21030 PR tree-optimization/21030
......
...@@ -65,6 +65,19 @@ extern unsigned xtensa_current_frame_size; ...@@ -65,6 +65,19 @@ extern unsigned xtensa_current_frame_size;
(XCHAL_HAVE_L32R ? 0 : MASK_CONST16)) (XCHAL_HAVE_L32R ? 0 : MASK_CONST16))
#define OVERRIDE_OPTIONS override_options () #define OVERRIDE_OPTIONS override_options ()
/* Reordering blocks for Xtensa is not a good idea unless the compiler
understands the range of conditional branches. Currently all branch
relaxation for Xtensa is handled in the assembler, so GCC cannot do a
good job of reordering blocks. Do not enable reordering unless it is
explicitly requested. */
#define OPTIMIZATION_OPTIONS(LEVEL, SIZE) \
do \
{ \
flag_reorder_blocks = 0; \
} \
while (0)
/* Target CPU builtins. */ /* Target CPU builtins. */
#define TARGET_CPU_CPP_BUILTINS() \ #define TARGET_CPU_CPP_BUILTINS() \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment