diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2003-04-30 18:24:06 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2003-04-30 18:24:06 +0000 |
commit | 62216ea0870cb63e5f808c455ef209c7653558a0 (patch) | |
tree | c7577e44462505f725352f8a9c6e130a4674fca4 /gcc | |
parent | 8abcca7bc60d8486462292580e2d0cd1a033d83e (diff) | |
download | gcc-62216ea0870cb63e5f808c455ef209c7653558a0.zip gcc-62216ea0870cb63e5f808c455ef209c7653558a0.tar.gz gcc-62216ea0870cb63e5f808c455ef209c7653558a0.tar.bz2 |
tree.h (DECL_POINTER_DEPTH): Remove.
* tree.h (DECL_POINTER_DEPTH): Remove.
(struct tree_decl): Remove pointer_depth.
From-SVN: r66300
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/tree.h | 14 |
2 files changed, 7 insertions, 12 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ba6abb7..095acbf 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. @@ -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; |