[Prev][Next][Index]
Problem in SgForStmt
- To: sage-bugs@extreme.indiana.edu
- Subject: Problem in SgForStmt
- Date: Wed, 05 Jun 1996 16:59:03 +0200
- From: Min Dai <Min.Dai@inria.fr>
- Sender: owner-sage-bugs@extreme.indiana.edu
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