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

Функции, принимающие указатель, не компилируются на -O0 #8

Closed
cjvth opened this issue Apr 4, 2024 · 0 comments · Fixed by #10

Comments

@cjvth
Copy link

cjvth commented Apr 4, 2024

Пример файла

void test(int *a) {

}

Ошибка

fatal error: error in backend: Cannot select: 0x62cf29dba870: i16 = srl 0x62cf29dba5d0, Constant:i16<8>
  0x62cf29dba5d0: i16,ch = CopyFromReg 0x62cf29d93e50, Register:i16 %0
    0x62cf29dba560: i16 = Register %0
  0x62cf29dba6b0: i16 = Constant<8>
In function: test
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

Successfully merging a pull request may close this issue.

1 participant