From 62216ea0870cb63e5f808c455ef209c7653558a0 Mon Sep 17 00:00:00 2001 From: Nathan Sidwell Date: Wed, 30 Apr 2003 18:24:06 +0000 Subject: [PATCH] tree.h (DECL_POINTER_DEPTH): Remove. * tree.h (DECL_POINTER_DEPTH): Remove. (struct tree_decl): Remove pointer_depth. From-SVN: r66300 --- gcc/ChangeLog | 5 +++++ gcc/tree.h | 14 ++------------ 2 files changed, 7 insertions(+), 12 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ba6abb7e29e..095acbfba3a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-04-30 Nathan Sidwell + + * tree.h (DECL_POINTER_DEPTH): Remove. + (struct tree_decl): Remove pointer_depth. + 2003-04-30 Janis Johnson * config/rs6000/linux64.h (ASM_OUTPUT_LABELREF): Remove. diff --git a/gcc/tree.h b/gcc/tree.h index 5a2d3b9fac8..fd6420aacff 100644 --- a/gcc/tree.h +++ b/gcc/tree.h @@ -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;