This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] VEC and tree aliasing
- From: Nathan Sidwell <nathan at codesourcery dot com>
- To: Diego Novillo <dnovillo at redhat dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Daniel Berlin <dberlin at dberlin dot org>
- Date: Mon, 25 Apr 2005 16:41:54 +0100
- Subject: Re: [PATCH] VEC and tree aliasing
- Organization: CodeSourcery LLC
- References: <4268AF41.7080708@codesourcery.com> <20050425153332.GB31537@topo.toronto.redhat.com>
Diego Novillo wrote:
On Fri, Apr 22, 2005 at 09:01:05AM +0100, Nathan Sidwell wrote:
* tree-ssa-alias.c (fieldoff_t): Remove.
(fieldoff_s): typedef the structure itself. Create a vector of
objects.
(push_fields_onto_fieldstack): Return count of fields pushed.
Remove peeling of first field. Adjust.
(fieldoff_compare): Adjust.
(create_overlap_variables_for): Adjust.
Looks fine. ISTR the special handling was for Ada or some other
FE. Dan?
That's what Dan claims. I've just bootstrapped my patch with an
added assertion making sure the invariant that if DECL_FIELDS is a
FIELD_DECL, then bitpos_of_field of that field is zero is actually true.
It appears so, so I'm not sure what the Ada issue was. I will install the
patch shortly.
nathan
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC
nathan@codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk