From: Nathan Sidwell Date: Wed, 25 Aug 2004 11:24:11 +0000 (+0000) Subject: ada-tree.h (TYPE_RM_SIZE_INT): Use TYPE_LANG_SLOT_1. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=15793d0cdb54a8e5239dfaa4527401223d317c85;p=gcc.git 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 --- 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) \