On Sun, May 24, 2009 at 1:38 PM, Brad Hards <br...@frogmouth.net> wrote:
> Hi,
>
> I'm trying to help with the porting of dehydra / treehydra to gcc 4.5.
>
> There are some tests that are failing, and in working through them, I'm
> finding some issues that might be differences between 4.3 and 4.5.
>
> One problem is about walking the instructions associated with a function. The
> treehydra code is a bit convoluted, so I've converted it into a testsuite
> case. See attached.
>
> 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).

Richard.

> Brad
>
>

Reply via email to