This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Tree
konica sarker <konica.sarker@gmail.com> writes:
> <var_decl 0xb776a284 z
> ÂÂÂ type <real_type 0xb7769120 float address-space-1 SF
> ÂÂÂÂÂÂÂ size <integer_cst 0xb76972c0 constant 32>
> ÂÂÂÂÂÂÂ unit size <integer_cst 0xb7697060 constant 4>
> ÂÂÂÂÂÂÂ align 32 symtab 0 alias set -1 canonical type 0xb7769120 precision 32>
> ÂÂÂ used public external common SF defer-output file /tmp/test.c line
> 21 col 21 size <integer_cst 0xb76972c0 32> unit size <integer_cst
> 0xb7697060 4>
> ÂÂÂ align 32>
>
>
> this is my tree code . I have printed my tree by debug_tree.
> can you tell me how can I extract the information address-space-1 from
> this code???
I'm sorry, I don't understand what you mean. I can see the string
address-space-1 right there in the output.
Do you mean: given this tree, how can you write code which determines
the address space? Use TYPE_ADDR_SPACE.
Ian