This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH [C}: tree.h decls for bounded pointers
- To: gcc-patches at gcc dot gnu dot org
- Subject: Re: PATCH [C}: tree.h decls for bounded pointers
- From: Greg McGary <gkm at eng dot ascend dot com>
- Date: 22 Mar 2000 16:09:29 -0700
- References: <200003162327.QAA13722@gkm-dsl-194.ascend.com>
Greg McGary <gkm@eng.ascend.com> writes:
> OK to commit?
Could someone look at this soon. I have a large backlog of patches
that require this as a prerequisite. This is all easy stuff: almost
all are additions that have no impact on existing code.
Thanks,
Greg
PS: Who can I bribe in order to move the approval process along? 8^)
> 2000-03-16 Greg McGary <gkm@gnu.org>
>
> * tree.h (tree_common): Add bounded_flag member. Remove
> inaccurate comment about number of remaining bits.
> (BOUNDED_INDIRECT_TYPE_P, BOUNDED_POINTER_TYPE_P,
> BOUNDED_REFERENCE_TYPE_P, MAYBE_BOUNDED_INDIRECT_TYPE_P,
> MAYBE_BOUNDED_POINTER_TYPE_P, MAYBE_BOUNDED_REFERENCE_TYPE_P,
> TREE_BOUNDED, TYPE_MAIN_VARIANTS_PHYSICALLY_EQUAL_P,
> TYPE_MAIN_PHYSICAL_VARIANT, TYPE_BOUNDED): New macros.
> (TYPE_QUAL_BOUNDED): New constant.
> (TYPE_QUALS): Handle bounded qualifier.
> (TREE_EXPR_QUALS, TREE_FUNC_QUALS): New macros.
> (TYPE_BOUNDED_VALUE, TYPE_BOUNDED_BASE, TYPE_BOUNDED_EXTENT,
> TYPE_BOUNDED_SUBTYPE, TYPE_UNBOUNDED_VARIANT, TYPE_POINTER_DEPTH,
> TYPE_AMBIENT_BOUNDEDNESS): New macros.
> (MAX_POINTER_DEPTH, VA_LIST_POINTER_DEPTH): New constants.
> (tree_type): Add pointer_depth member. Remove
> inaccurate comment about number of remaining bits.
> (DECL_POINTER_DEPTH): Add macro.
> (tree_decl): Add pointer_depth member.