Creating temporary variables

2005-11-20 Thread VIbhav Garg
Hi, I am working on some optimizations on the CFG. Can someone please give me some info on the following - 1. For an gimple expression node, how do we determine the return type? 2. How do we create a temporary variable, and add it to the list of variables defined in the current function declarati

Re: Creating temporary variables

2005-11-20 Thread Ian Lance Taylor
VIbhav Garg <[EMAIL PROTECTED]> writes: > I am working on some optimizations on the CFG. Can someone please give > me some info on the following - > > 1. For an gimple expression node, how do we determine the return type? You can get the type of any gimple expression using TREE_TYPE. > 2. How d

Re: Creating temporary variables

2005-11-20 Thread VIbhav Garg
Ian Lance Taylor wrote: > VIbhav Garg <[EMAIL PROTECTED]> writes: > > >>I am working on some optimizations on the CFG. Can someone please give >>me some info on the following - >> >>1. For an gimple expression node, how do we determine the return type? > > > You can get the type of any gimple e