This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Tree
On Tue, Jul 19, 2011 at 3:27 PM, Ian Lance Taylor <iant@google.com> wrote:
>
> konica sarker <konica.sarker@gmail.com> writes:
>
> > On Tue, Jul 19, 2011 at 12:17 PM, Philip Herron <redbrain@gcc.gnu.org> wrote:
> >> debug_tree (tree) should so the job
> >>
> >
> > thanks, so, I have written it in my code, but how to watch?
>
> (Sorry, I missed Philip's reply).
>
> What do you mean by "how to watch?" ?The debug_tree function will print
> to standard error.
>
> Ian
Hello,
<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???