system.h (GIV_SORT_CRITERION): Poison.

* system.h (GIV_SORT_CRITERION): Poison.
	* config/avr/avr.h (GIV_SORT_CRITERION): Remove.
	* config/ip2k/ip2k.h (GIV_SORT_CRITERION): Likewise.

From-SVN: r77194
This commit is contained in:
Kazu Hirata 2004-02-03 22:14:48 +00:00 committed by Kazu Hirata
parent 888d65b5a8
commit 9b2b33751f
4 changed files with 8 additions and 30 deletions

View File

@ -1,3 +1,9 @@
2004-02-03 Kazu Hirata <kazu@cs.umass.edu>
* system.h (GIV_SORT_CRITERION): Poison.
* config/avr/avr.h (GIV_SORT_CRITERION): Remove.
* config/ip2k/ip2k.h (GIV_SORT_CRITERION): Likewise.
2004-02-03 Roger Sayle <roger@eyesopen.com>
PR target/9348

View File

@ -772,20 +772,6 @@ extern int avr_case_values_threshold;
#define NO_DOLLAR_IN_LABEL 1
#define GIV_SORT_CRITERION(X, Y) \
if (GET_CODE ((X)->add_val) == CONST_INT \
&& GET_CODE ((Y)->add_val) == CONST_INT) \
return INTVAL ((X)->add_val) - INTVAL ((Y)->add_val);
/* `GIV_SORT_CRITERION(GIV1, GIV2)'
In some cases, the strength reduction optimization pass can
produce better code if this is defined. This macro controls the
order that induction variables are combined. This macro is
particularly useful if the target has limited addressing modes.
For instance, the SH target has only positive offsets in
addresses. Thus sorting to put the smallest address first allows
the most combinations to be found. */
#define TRAMPOLINE_TEMPLATE(FILE) \
internal_error ("trampolines not supported")

View File

@ -795,21 +795,6 @@ extern int ip2k_reorg_split_himode;
extern int ip2k_reorg_merge_qimode;
/* Flag to indicate that it's safe to merge QImode operands. */
#define GIV_SORT_CRITERION(X, Y) \
do { \
if (GET_CODE ((X)->add_val) == CONST_INT \
&& GET_CODE ((Y)->add_val) == CONST_INT) \
return INTVAL ((X)->add_val) - INTVAL ((Y)->add_val); \
} while (0)
/* In some cases, the strength reduction optimization pass can
produce better code if this is defined. This macro controls the
order that induction variables are combined. This macro is
particularly useful if the target has limited addressing modes.
For instance, the SH target has only positive offsets in
addresses. Thus sorting to put the smallest address first allows
the most combinations to be found. */
#define TRAMPOLINE_TEMPLATE(FILE) abort ()
#define TRAMPOLINE_SIZE 4

View File

@ -632,7 +632,8 @@ typedef char _Bool;
CONVERT_HARD_REGISTER_TO_SSA_P ASM_OUTPUT_MAIN_SOURCE_FILENAME \
FIRST_INSN_ADDRESS TEXT_SECTION SHARED_BSS_SECTION_ASM_OP \
PROMOTED_MODE EXPAND_BUILTIN_VA_END \
LINKER_DOES_NOT_WORK_WITH_DWARF2 FUNCTION_ARG_KEEP_AS_REFERENCE
LINKER_DOES_NOT_WORK_WITH_DWARF2 FUNCTION_ARG_KEEP_AS_REFERENCE \
GIV_SORT_CRITERION
/* Hooks that are no longer used. */
#pragma GCC poison LANG_HOOKS_FUNCTION_MARK LANG_HOOKS_FUNCTION_FREE \