Creating a tree node from gimple statement.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I am using gcc-4.5.0.
Given a gimple statement: a = b + c;
I want a tree node for the rhs (b+c).
Using gimple_assign_rhs1(stmt), etc., I can get (b), (c) as separate tree nodes.
Can I make a tree node from these ?

I want to do the same for some other type of statements as well.
For ex., conditional statement: if (x < y) => I want (x < y). Right now I am able to get (x) and (y).

Thanks,
Swaroop.

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux