aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorRichard Kenner <kenner@vlsi1.ultra.nyu.edu>2004-03-19 21:09:45 +0000
committerRichard Kenner <kenner@gcc.gnu.org>2004-03-19 16:09:45 -0500
commita6002f8d298b9c68c00b1e6681b131598a8f26cf (patch)
tree534da5d5f42ebff8c2d65287408867ee73dc0d31 /gcc/tree.h
parent9c6637c8d992c2df96bc29e021f148097917b1d8 (diff)
downloadgcc-a6002f8d298b9c68c00b1e6681b131598a8f26cf.zip
gcc-a6002f8d298b9c68c00b1e6681b131598a8f26cf.tar.gz
gcc-a6002f8d298b9c68c00b1e6681b131598a8f26cf.tar.bz2
* tree.h (TYPE_ARRAY_MAX_SIZE): Use type.maxval directly.
From-SVN: r79700
Diffstat (limited to 'gcc/tree.h')
-rw-r--r--gcc/tree.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index e5e710d..7a961e5 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -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) \