Opened 17 years ago
Closed 17 years ago
#43 closed defect (fixed)
matmat: send stmt parse exception
| Reported by: | Stephen Siegel | Owned by: | ywei |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | front | Version: | 1.0 |
| Keywords: | send, communication, parse, LHS | Cc: |
Description
There is a problem parsing the statement
send(a[count], count + 1, count + 1);
The exception is
frederic:matmat siegel$ tass verify matmat-par_2_2_2.mmp
+----------------------------------------------------------------------+
| TASS: Toolkit for Accurate Scientific Software |
| version 1.0.r1027 (2009-08-26) http://vsl.cis.udel.edu/tass |
+----------------------------------------------------------------------+
command : verify
model : matmat-par_2_2_2.mmp(np=1)
Deadlock detection : absolute
Reduction : standard
verbose: : No
simplify: : No
bufferBound : 10
Exception in thread "main" java.lang.ClassCastException: edu.udel.cis.vsl.minimp.front.minimp.ast.expression.VariableExpression cannot be cast to edu.udel.cis.vsl.minimp.front.minimp.ast.expression.LhsExpressionIF
at edu.udel.cis.vsl.minimp.front.minimp.parser.TreeParser.processSendStmt(TreeParser.java:1159)
at edu.udel.cis.vsl.minimp.front.minimp.parser.TreeParser.processStatement(TreeParser.java:904)
at edu.udel.cis.vsl.minimp.front.minimp.parser.TreeParser.processStatementList(TreeParser.java:987)
at edu.udel.cis.vsl.minimp.front.minimp.parser.TreeParser.processCompoundStmt(TreeParser.java:971)
at edu.udel.cis.vsl.minimp.front.minimp.parser.TreeParser.processStatement(TreeParser.java:897)
at edu.udel.cis.vsl.minimp.front.minimp.parser.TreeParser.processLoopStmt(TreeParser.java:1113)
at edu.udel.cis.vsl.minimp.front.minimp.parser.TreeParser.processIterativeStmt(TreeParser.java:1046)
at edu.udel.cis.vsl.minimp.front.minimp.parser.TreeParser.processStatement(TreeParser.java:900)
at edu.udel.cis.vsl.minimp.front.minimp.parser.TreeParser.processStatementList(TreeParser.java:987)
at edu.udel.cis.vsl.minimp.front.minimp.parser.TreeParser.processCompoundStmt(TreeParser.java:971)
at edu.udel.cis.vsl.minimp.front.minimp.parser.TreeParser.processStatement(TreeParser.java:897)
at edu.udel.cis.vsl.minimp.front.minimp.parser.TreeParser.processConditionStmt(TreeParser.java:998)
at edu.udel.cis.vsl.minimp.front.minimp.parser.TreeParser.processStatement(TreeParser.java:898)
at edu.udel.cis.vsl.minimp.front.minimp.parser.TreeParser.processStmtList(TreeParser.java:475)
at edu.udel.cis.vsl.minimp.front.minimp.parser.TreeParser.processFunctionBody(TreeParser.java:448)
at edu.udel.cis.vsl.minimp.front.minimp.parser.TreeParser.processFunction(TreeParser.java:383)
at edu.udel.cis.vsl.minimp.front.minimp.parser.TreeParser.processAST(TreeParser.java:132)
at edu.udel.cis.vsl.minimp.Minimp.verify(Minimp.java:388)
at edu.udel.cis.vsl.minimp.Minimp.main(Minimp.java:506)
frederic:matmat siegel$
Change History (2)
comment:1 by , 17 years ago
| Status: | new → accepted |
|---|
comment:2 by , 17 years ago
| Resolution: | → fixed |
|---|---|
| Status: | accepted → closed |
Note:
See TracTickets
for help on using tickets.

Fixed. But since the language doesn't support the notion of null buffer. This example still doesn't work.