This is the mail archive of the gcc@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: problem with getting statements (DECL_SAVED_TREE?)


On Sunday 24 May 2009 10:03:36 pm Richard Guenther wrote:
> On Sun, May 24, 2009 at 1:38 PM, Brad Hards <bradh@frogmouth.net> wrote:
> > Essentially, the problem appears to be that DECL_SAVED_TREE() returns
> > null. If I understand the treehydra code, that used to provide a list of
> > GENERIC instructions. Is there a way to get that in 4.5?
>
> It depends on when you hook into the gcc pipeline.  DECL_SAVED_TREE will
> only be available before gimplification (gimplification doesn't run as part
> of a pass, it is currently invoked by the frontends).
I'm pretty flexible about where we hook in - the current default is 
after "useless". 

If the output of the front ends is GIMPLE, then I guess I need to work in 
terms of GIMPLE statements?

Brad



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