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

Xcalcc ivar_spre mistakenly moved the store out of the loop #30

Open
zqb-all opened this issue Oct 27, 2023 · 0 comments
Open

Xcalcc ivar_spre mistakenly moved the store out of the loop #30

zqb-all opened this issue Oct 27, 2023 · 0 comments
Labels
bug WOPT Optimizer

Comments

@zqb-all
Copy link

zqb-all commented Oct 27, 2023

extern f2(unsigned char* d1);

#define SIZE 16
void f1(void)
{
	unsigned char d1[SIZE];
	for (int i = 0; i < SIZE; i++) {
		d1[i] = 0;
	}
	f2(d1);
}

image

@Yvan-xy Yvan-xy added bug WOPT Optimizer labels Nov 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug WOPT Optimizer
Projects
None yet
Development

No branches or pull requests

2 participants