This is the mail archive of the 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: [tree-ssa] Re-compute TREE_ADDRESSABLE early

> > On Tue, 2003-12-16 at 18:50, Jan Hubicka wrote:
> > 
> > > I wrote this code orignally as an attempt to avoid need to compute
> > > TREE_ADDRESSABLE in the frontend.  This is not possible right now as
> > > gimplification and several other bits depends on different definitions
> > > of TREE_ADDRESABLE value.
> > > 
> > If you compute addressability in tree_rest_of_compilation() prior to
> > gimplification, you wouldn't need this.
> > 
> > I'm not sure this is needed.
> The idea is that inlining and early dead/unreachable code removal
> elliminate some address operations and this is very cheap.  But I will
> update and test the generic part too later this week.

Perhaps the generic part won't be so soon.  I now recall that getting
that patch working right was dificult because we have to duplicate
hidden uses discovery and also C++ has language specific operators that
replace ADDR_EXPR (PTRMEM_CST) and given the fact that we don'g do
generic for C++, we would be doomed to language specific bits of such a
I can either invent hook for this or wait for genericization of C++ to
happen on your preferrence.

> Honza
> > 
> > 
> > Diego.

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