diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6499187f498..9e7db935855 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2010-07-13 Ramana Radhakrishnan + + * expmed.c (MAX_BITS_PER_WORD): Moved to expmed.h. + * expmed.h (MAX_BITS_PER_WORD): Moved from expmed.c. + 2010-07-13 Rainer Orth * config/i386/sol2-unwind.h (x86_64_fallback_frame_state): Correct diff --git a/gcc/expmed.c b/gcc/expmed.c index 186cf01777a..e6b30e42b2a 100644 --- a/gcc/expmed.c +++ b/gcc/expmed.c @@ -69,13 +69,6 @@ static rtx expand_sdiv_pow2 (enum machine_mode, rtx, HOST_WIDE_INT); #define SLOW_UNALIGNED_ACCESS(MODE, ALIGN) STRICT_ALIGNMENT #endif -/* For compilers that support multiple targets with different word sizes, - MAX_BITS_PER_WORD contains the biggest value of BITS_PER_WORD. An example - is the H8/300(H) compiler. */ - -#ifndef MAX_BITS_PER_WORD -#define MAX_BITS_PER_WORD BITS_PER_WORD -#endif /* Reduce conditional compilation elsewhere. */ #ifndef HAVE_insv diff --git a/gcc/expmed.h b/gcc/expmed.h index 37f57557120..bd12cd25c7b 100644 --- a/gcc/expmed.h +++ b/gcc/expmed.h @@ -65,6 +65,14 @@ struct mult_cost { || ((X)->cost == (Y)->cost \ && (X)->latency < (Y)->latency)) +/* For compilers that support multiple targets with different word sizes, + MAX_BITS_PER_WORD contains the biggest value of BITS_PER_WORD. An example + is the H8/300(H) compiler. */ + +#ifndef MAX_BITS_PER_WORD +#define MAX_BITS_PER_WORD BITS_PER_WORD +#endif + /* This structure records a sequence of operations. `ops' is the number of operations recorded. `cost' is their total cost.