[Prev][Next][Index]

Problem in SgForStmt



Hi,

I met two problems in using SgForStmt class. For Fortran language, the
normal "DO" statement is :

DO lab symb = start, end, step
  
   S: 

lab CONTINUE

- First, I can not get "step" expression using "expr = doloop->step()"
function, "expr" is aways equal "1".

- Second, in my application programs, I should change "lab" number.
There is not function, like "setStart", for setting "lab" in SgForStmt
class. The "setLabel" function can only change statement label.

Another problem, in SgParameterStmt, the SgParameterStmt(SgExpression
&constants ,SgExpression &value) does not work?

Thanks for help me!

Min DAI