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: [tree-ssa]: BIND_EXPR removal breaks tree-PTA


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


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