ada-tree.h (TYPE_RM_SIZE_INT): Use TYPE_LANG_SLOT_1.
authorNathan Sidwell <nathan@codesourcery.com>
Wed, 25 Aug 2004 11:24:11 +0000 (11:24 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Wed, 25 Aug 2004 11:24:11 +0000 (11:24 +0000)
* ada-tree.h (TYPE_RM_SIZE_INT): Use TYPE_LANG_SLOT_1.

Co-Authored-By: Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
From-SVN: r86545

gcc/ada/ChangeLog
gcc/ada/ada-tree.h

index e49c9ab4e469fafc7beb10266369c687e158451b..0f900086a87be0af47d79884625862ec912f02b0 100644 (file)
@@ -1,3 +1,8 @@
+2004-08-25  Nathan Sidwell  <nathan@codesourcery.com>
+           Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+       
+       * ada-tree.h (TYPE_RM_SIZE_INT): Use TYPE_LANG_SLOT_1.
+
 2004-08-25  Nathan Sidwell  <nathan@codesourcery.com>
 
        * cuintp.c (UI_To_gnu): Adjust build_int_cst calls.
index b0126846e8cb4c7790fbaa8fb2873dbfc76507c4..45e597e6713e5303070a9ad94b93336679e5d973 100644 (file)
@@ -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)        \