Tree
konica sarker
konica.sarker@gmail.com
Tue Jul 19 09:29:00 GMT 2011
On Thu, Jul 7, 2011 at 9:11 PM, Ian Lance Taylor <iant@google.com> wrote:
> konica sarker <konica.sarker@gmail.com> writes:
>
>> ok. I have a very basic question. If you know, please reply me.
>> suppore I have declared variables like :
>> _X char a;
>> char b:
>>
>> so, is there any way to find out that "a" is declared in "_X" address
>> space, and "b" in generic address space?
>
> If adecl is the VAR_DECL corresponding to a, look at
>
> TYPE_ADDR_SPACE (TREE_TYPE (adecl))
>
> I may have misunderstood your earlier question. Variables do have
> address spaces. I thought you were talking about integers rather than
> variables.
>
> Ian
>
Hello,
is there any way to view the details of the tree? or printing a tree?
like all the nodes, connectivity of each nodes...etc??
-konica
More information about the Gcc-help
mailing list