Re: Global declarations before RTL expansion

2006-02-12 Thread Arquimedes Canedo
On Feb 13, 2006, at 11:52 AM, Daniel Berlin wrote: cgraph's varpool should have these. Look at ipa-type-escape.c for the varpool_nodes_queue walking code. Thanks for the guidance. I'm using gcc-4.0.2 sources and I could get the global variables by the cgraph_varpool_nodes. This is what I wa

Re: Global declarations before RTL expansion

2006-02-12 Thread Daniel Berlin
On Mon, 2006-02-13 at 11:48 +0900, Arquimedes Canedo wrote: > Dear developers, > > I am trying to get all global declarations in GIMPLE level just > before RTL expansion. I have tried to copy the scope instead of > pop_scope() to catch the global declarations in the way > c_write_global_decl

Global declarations before RTL expansion

2006-02-12 Thread Arquimedes Canedo
Dear developers, I am trying to get all global declarations in GIMPLE level just before RTL expansion. I have tried to copy the scope instead of pop_scope() to catch the global declarations in the way c_write_global_declarations() does it but I've failed. It seems the structures are not y