tree.h (DECL_POINTER_DEPTH): Remove.
authorNathan Sidwell <nathan@codesourcery.com>
Wed, 30 Apr 2003 18:24:06 +0000 (18:24 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Wed, 30 Apr 2003 18:24:06 +0000 (18:24 +0000)
* tree.h (DECL_POINTER_DEPTH): Remove.
(struct tree_decl): Remove pointer_depth.

From-SVN: r66300

gcc/ChangeLog
gcc/tree.h

index ba6abb7e29ef3b4888896546e1710a9ba9581144..095acbfba3ab87cdd4805dd93b5e9b3106f8dfb3 100644 (file)
@@ -1,3 +1,8 @@
+2003-04-30  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * tree.h (DECL_POINTER_DEPTH): Remove.
+       (struct tree_decl): Remove pointer_depth.
+       
 2003-04-30  Janis Johnson  <janis187@us.ibm.com>
 
        * config/rs6000/linux64.h (ASM_OUTPUT_LABELREF): Remove.
index 5a2d3b9fac82b0dbd37d5646e72fb99c203bddda..fd6420aacffeaf3ece84ca82ff8424d41ca32a95 100644 (file)
@@ -1777,16 +1777,6 @@ struct tree_type GTY(())
 #define DECL_POINTER_ALIAS_SET_KNOWN_P(NODE) \
   (DECL_POINTER_ALIAS_SET (NODE) != - 1)
 
-/* The pointer_depth field comprises two bits for values in the range
-   0..3.  The value is normally equal to TYPE_POINTER_DEPTH of decl's
-   type node, but for functions it migth be greater.  For example,
-   this can happen when the function is declared to accept a parameter
-   of type void* (depth=1), but is actually called with an argument of
-   type foo** (depth=2).  The function type will get the formal
-   parameter's depth, but the function decl will get the actual
-   argument's depth.  */
-#define DECL_POINTER_DEPTH(DECL) (DECL_CHECK (DECL)->decl.pointer_depth)
-
 struct function;
 
 struct tree_decl GTY(())
@@ -1823,13 +1813,13 @@ struct tree_decl GTY(())
   ENUM_BITFIELD(built_in_class) built_in_class : 2;
   unsigned pure_flag : 1;
 
-  unsigned pointer_depth : 2;
   unsigned non_addressable : 1;
   unsigned user_align : 1;
   unsigned uninlinable : 1;
   unsigned thread_local_flag : 1;
   unsigned inlined_function_flag : 1;
-  /* One unused bit.  */
+  unsigned unused : 3;
+  /* three unused bits.  */
 
   unsigned lang_flag_0 : 1;
   unsigned lang_flag_1 : 1;