This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa]: BIND_EXPR removal breaks tree-PTA
- From: Zdenek Dvorak <rakdver at atrey dot karlin dot mff dot cuni dot cz>
- To: Daniel Berlin <dberlin at dberlin dot org>
- Cc: gcc mailing list <gcc at gcc dot gnu dot org>
- Date: Fri, 7 Nov 2003 09:25:24 +0100
- Subject: Re: [tree-ssa]: BIND_EXPR removal breaks tree-PTA
- References: <90DB2F07-10A8-11D8-ACAA-000A95AF1FAE@dberlin.org>
Hello,
> With Load PRE working, and scalarization imminent, i'm working on PTA
> some more, and noticed that it was broken by the BIND_EXPR removal
> (BLOCK_SUPERCONTEXT sometimes gives us a function_decl, not a block,
> etc).
>
> If you can tell me a simple way to iterate the list of DECL's and their
> DECL_INITIAL's, i can take care of this.
>
> If there isn't a simple way, i'm gonna need some help figuring out how
> the code should work.
> (If it helps, it doesn't matter what order we process them in, since
> the analysis is flow insensitive).
it might be best then to just iterate over members of
cfun->unexpanded_var_list (I am sorry for breaking this, I don't really
know how PTA works).
Zdenek