Help with TREE_PUBLIC

Ajay Kumar nitk.ajay@gmail.com
Wed May 12 18:46:00 GMT 2010


Hi all,

 I'm writing a plugin that simply prints the IDENTIFIER NODE of global
variable references in the given program. I am using TREE_PUBLIC to
check if the current variable being accessed is a global one. However
it is working for integer and float variables but doesn't seem to work
for data structures that are declared global. Can somebody please help
me in identifying data structures that are global and catch their
names.

Thanks,
Ajay.



More information about the Gcc-help mailing list