diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/defaults.h | 5 | ||||
-rw-r--r-- | gcc/expr.c | 5 | ||||
-rw-r--r-- | gcc/stmt.c | 5 |
4 files changed, 11 insertions, 10 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c6cfde6..d757597 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,11 @@ 2004-01-18 Kazu Hirata <kazu@cs.umass.edu> + * defaults.h (CASE_VECTOR_PC_RELATIVE): Provide the default. + * expr.c (CASE_VECTOR_PC_RELATIVE): Remove. + * stmt.c (CASE_VECTOR_PC_RELATIVE): Likewise. + +2004-01-18 Kazu Hirata <kazu@cs.umass.edu> + * stmt.c (HAVE_casesi): Define it not already defined. (HAVE_tablejump): Likewise. (expand_end_case_type): Resort to the binary tree method if diff --git a/gcc/defaults.h b/gcc/defaults.h index 2b6c2ef..751ef67 100644 --- a/gcc/defaults.h +++ b/gcc/defaults.h @@ -690,4 +690,9 @@ You Lose! You must define PREFERRED_DEBUGGING_TYPE! #define EXIT_IGNORE_STACK 0 #endif +/* Assume that case vectors are not pc-relative. */ +#ifndef CASE_VECTOR_PC_RELATIVE +#define CASE_VECTOR_PC_RELATIVE 0 +#endif + #endif /* ! GCC_DEFAULTS_H */ @@ -73,11 +73,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA #endif #endif -/* Assume that case vectors are not pc-relative. */ -#ifndef CASE_VECTOR_PC_RELATIVE -#define CASE_VECTOR_PC_RELATIVE 0 -#endif - /* Convert defined/undefined to boolean. */ #ifdef TARGET_MEM_FUNCTIONS #undef TARGET_MEM_FUNCTIONS @@ -58,11 +58,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include "predict.h" #include "optabs.h" #include "target.h" - -/* Assume that case vectors are not pc-relative. */ -#ifndef CASE_VECTOR_PC_RELATIVE -#define CASE_VECTOR_PC_RELATIVE 0 -#endif /* Functions and data structures for expanding case statements. */ |