This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Restrict pointers
- From: Diego Novillo <dnovillo at redhat dot com>
- To: Jan Hoogerbrugge <hoogerbrugge at hotmail dot com>
- Cc: Jim Wilson <wilson at specifixinc dot com>, "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Fri, 12 Mar 2004 10:44:50 -0500
- Subject: Re: Restrict pointers
- Organization: Red Hat Canada
- References: <BAY9-F50KdRZBMdSUSe00073b95@hotmail.com>
On Fri, 2004-03-12 at 10:27, Jan Hoogerbrugge wrote:
> What can we / I do to improve the handling of restrict pointers? Any idea
> of the difficulty and where to start?
>
Could you take a look at tree-ssa? We implement 3 alias analyses: flow
insensitive points-to, flow sensitive points-to and type based aliasing.
All these are implemented in tree-ssa-alias.c and tree-alias-*.c. The
main driver for the alias pass is in
tree-ssa-alias.c:compute_may_aliases. You will also find documentation
in doc/tree-ssa.texi.
Currently there is no special handling for restrict pointers (unless the
generic alias set routines in alias.c support it).
Diego.