summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2010-07-13 19:48:58 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2010-07-13 19:48:58 +0000
commitd7c908eb03decd8d80888b297e5022f8852f0c0f (patch)
treed21465fb7bee041af8446276c85b8598dccd15b7
parent1af17d44fddd5f5189c2ff063d63f30bbbb9a435 (diff)
downloadgcc-d7c908eb03decd8d80888b297e5022f8852f0c0f.tar.gz
gcc/
* expmed.h (MAX_BITS_PER_WORD): Move to... * defaults.h (MAX_BITS_PER_WORD): ...here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162150 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/defaults.h4
-rw-r--r--gcc/expmed.h8
3 files changed, 9 insertions, 8 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0ce8cad7355..6af68b2bd1e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2010-07-13 Richard Sandiford <rdsandiford@googlemail.com>
+
+ * expmed.h (MAX_BITS_PER_WORD): Move to...
+ * defaults.h (MAX_BITS_PER_WORD): ...here.
+
2010-07-13 DJ Delorie <dj@redhat.com>
* config/h8300/h8300.c (h8300_init_once): Default to
diff --git a/gcc/defaults.h b/gcc/defaults.h
index 336f386edf0..c2e68a742e3 100644
--- a/gcc/defaults.h
+++ b/gcc/defaults.h
@@ -1033,6 +1033,10 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#define MIN_UNITS_PER_WORD UNITS_PER_WORD
#endif
+#ifndef MAX_BITS_PER_WORD
+#define MAX_BITS_PER_WORD BITS_PER_WORD
+#endif
+
#ifndef STACK_POINTER_OFFSET
#define STACK_POINTER_OFFSET 0
#endif
diff --git a/gcc/expmed.h b/gcc/expmed.h
index bd12cd25c7b..37f57557120 100644
--- a/gcc/expmed.h
+++ b/gcc/expmed.h
@@ -65,14 +65,6 @@ 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.