Skip to content
New issue

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

c2mir - while loop hangs #9

Closed
dibyendumajumdar opened this issue Aug 24, 2019 · 2 comments
Closed

c2mir - while loop hangs #9

dibyendumajumdar opened this issue Aug 24, 2019 · 2 comments

Comments

@dibyendumajumdar
Copy link
Contributor

int printf(const char *s, ...);

int main(void) {
	int i = 10;

	do {
		if (i % 3 == 0)
			continue;
		if (i == 2)
			break;
		printf("%d\n", i);
	} while (i--);
	return 0;
}

Above program hangs - i.e. loop doesn't terminate.

@vnmakarov
Copy link
Owner

OK. Thank you. I'll check it. Currently I have couple dozens of similar small tests which do not work for C2MIR. I am on very beginning of my C2MIR debugging.

@dibyendumajumdar
Copy link
Contributor Author

Looks like this is fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants