This is the mail archive of the
mailing list for the GCC project.
Re: [tree-ssa] TREE_ADDRESSABLE versus ARRAY_TYPE
> On Sun, Jan 11, 2004 at 09:51:19PM +0100, Jan Hubicka wrote:
> > * tree.h (NONCONSTANT_ARRAY_REF): New flag.
> I don't see the point of this. Why aren't you just setting
> TREE_ADDRESSABLE for this case?
I was discussing this with Diego and it didn't seem to be best idea to
overload TREE_ADDRESSABLE for all different meanings.
For part of compiler TREE_ADDRESABLE flag means "address of this object
has been taken" while elsewhere it means "this object must live in
memory after RTL expansion". It seems resonable to split these
meanings into different flags.
But just setting TREE_ADDRESSABLE flag works for me too.