We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
do
while
continue
A simple do-while loop like
do { i++; } while (i < 10);
is converted to the following (according to Goblint's justcil):
justcil
{ #line 6 while (1) { while_continue: /* CIL Label */ ; #line 7 i ++; #line 6 if (! (i < 10)) { #line 6 goto while_break; } } while_break: /* CIL Label */ ; }
The location of while_continue label there is wrong! According to cppreference, it should be like:
while_continue
do { // ... continue; // acts as goto contin; // ... contin:; } while (/* ... */);
The text was updated successfully, but these errors were encountered:
Wow! Amazing this was only discovered after almost 2 decades of CIL!
Sorry, something went wrong.
No branches or pull requests
A simple
do
-while
loop likeis converted to the following (according to Goblint's
justcil
):The location of
while_continue
label there is wrong! According to cppreference, it should be like:The text was updated successfully, but these errors were encountered: