djrieger / mjplusplus

A compiler for the MiniJava language
http://djrieger.github.io/mjplusplus/doc/doxygen/html/
6 stars 1 forks source link

While statements: Verify warning: could not find any memory chain #74

Closed djrieger closed 9 years ago

djrieger commented 9 years ago

While the following code works just fine:

while (2 < 10) {
    System.out.println(1);
}

while statements with empty bodies such as while (2 < 10) { } result in this verification warning:

Verify warning: could not find any memory chain in graph main[62]
djrieger commented 9 years ago

while (2 < 10) { } causes the warning to be printed but while (false) { } works fine.

ratefuchs commented 9 years ago

It seems to be fixed. Can we close this?

djrieger commented 9 years ago

Not fixed yet as of v0.5