* tree.h (TYPE_ARRAY_MAX_SIZE): Use type.maxval directly.

From-SVN: r79700
This commit is contained in:
Richard Kenner 2004-03-19 21:09:45 +00:00 committed by Richard Kenner
parent 9c6637c8d9
commit a6002f8d29
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2004-03-19 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* tree.h (TYPE_ARRAY_MAX_SIZE): Use type.maxval directly.
2004-03-19 Denis Chertykov <denisc@overta.ru>
* config/avr/avr.md ("call_insn"): Handle explicit integer

View File

@ -1142,7 +1142,7 @@ struct tree_block GTY(())
object of the given ARRAY_TYPE. This allows temporaries to be
allocated. */
#define TYPE_ARRAY_MAX_SIZE(ARRAY_TYPE) \
TYPE_MAX_VALUE (ARRAY_TYPE_CHECK (ARRAY_TYPE))
(ARRAY_TYPE_CHECK (ARRAY_TYPE)->type.maxval)
/* For a VECTOR_TYPE, this is the number of sub-parts of the vector. */
#define TYPE_VECTOR_SUBPARTS(VECTOR_TYPE) \