From 15793d0cdb54a8e5239dfaa4527401223d317c85 Mon Sep 17 00:00:00 2001 From: Nathan Sidwell Date: Wed, 25 Aug 2004 11:24:11 +0000 Subject: [PATCH] ada-tree.h (TYPE_RM_SIZE_INT): Use TYPE_LANG_SLOT_1. * ada-tree.h (TYPE_RM_SIZE_INT): Use TYPE_LANG_SLOT_1. Co-Authored-By: Richard Kenner From-SVN: r86545 --- gcc/ada/ChangeLog | 5 +++++ gcc/ada/ada-tree.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index e49c9ab4e46..0f900086a87 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,8 @@ +2004-08-25 Nathan Sidwell + Richard Kenner + + * ada-tree.h (TYPE_RM_SIZE_INT): Use TYPE_LANG_SLOT_1. + 2004-08-25 Nathan Sidwell * cuintp.c (UI_To_gnu): Adjust build_int_cst calls. diff --git a/gcc/ada/ada-tree.h b/gcc/ada/ada-tree.h index b0126846e8c..45e597e6713 100644 --- a/gcc/ada/ada-tree.h +++ b/gcc/ada/ada-tree.h @@ -165,7 +165,7 @@ struct lang_type GTY(()) {union lang_tree_node t; }; (TYPE_LANG_SPECIFIC (INTEGER_TYPE_CHECK (NODE)) = (struct lang_type *) (X)) /* For INTEGER_TYPE, stores the RM_Size of the type. */ -#define TYPE_RM_SIZE_INT(NODE) (INTEGER_TYPE_CHECK (NODE)->type.values) +#define TYPE_RM_SIZE_INT(NODE) TYPE_LANG_SLOT_1 (INTEGER_TYPE_CHECK (NODE)) /* Likewise for ENUMERAL_TYPE. */ #define TYPE_RM_SIZE_ENUM(NODE) \ -- 2.30.2