This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Remove BOUNDED macros


Nathan Sidwell <nathan@codesourcery.com> writes:

> Hi,
> thi spatch removes the BOUNDED macros in tree.h, that are not used anywhere.
> AFAICT the bounded pointers work ceased back in 2000-05-03 when this
> patch went in. googling 'Greg McGary' shows the most recent posting
> being early 2002, but that did not concern bounded pointers. I can't
> find anything more recent than 2000 for the pointer work.
> 
> booted & tested on i686-pc-linux-gnu, ok?

*sigh*.  I was looking forward to having bounds checking.

The patch is OK.

> nathan
> -- 
> Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
>           The voices in my head said this was stupid too
> nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk
> 
> 2003-05-19  Nathan Sidwell  <nathan@codesourcery.com>
> 
> 	* c-common.h (enum rid): Remove RID_BOUNDED, RID_UNBOUNDED.
> 	* c-parse.in (reswords): Remove __bounded__ and __unbounded__.
> 	(rid_to_yy): Remove RID_BOUNDED, RID_UNBOUNDED slots.
> 	* print-tree.c (print_node): Remove ambient-boundedness.
> 	* tree.h (tree_common): Remove bounded_flag.
> 	(BOUNDED_INDIRECT_YPE_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, TYPE_QUAL_BOUNDED):
> 	Remove.
> 	(TYPE_QUALS): Remove BOUNDED.
> 	(TREE_EXPR_QUALS, TREE_FUNC_QUALS): Remove.
> 	(TYPE_BOUNDED_VALUE, TYPE_BOUNDED_BASE, TYPE_BOUNDED_EXTENT,
> 	TYPE_BOUNDED_SUBTYPE, TYPE_UNBOUNDED_VARIANT, TYPE_POINTER_DEPTH,
> 	TYPE_AMBIENT_BOUNDEDNESS, MAX_POINTER_DEPT,
> 	VA_LIST_POINTER_DEPTH): Remove.
> 	(struct tree_type): Remove pointer_depth.
> 
> 	* treelang/treetree.c (reswords): Remove __bounded__, __unbounded__.
-- 
- Geoffrey Keating <geoffk@geoffk.org>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]