This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Global declarations before RTL expansion
- From: Arquimedes Canedo <canedo at sowa dot is dot uec dot ac dot jp>
- To: gcc at gcc dot gnu dot org
- Date: Mon, 13 Feb 2006 11:48:04 +0900
- Subject: Global declarations before RTL expansion
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 yet completed at this stage (?).
Is there any other way around to get ALL (used, non-used) global
variables ?
Thank you for your help
Arquimedes Canedo