vnmakarov/mir

Issue 361 test case failed

IIvm opened this issue · 2 comments

IIvm commented

Build on Mac M2, in bbv branch, here is output:

./c-tests/new/issue361.c:./c-tests/new/issue361.c:13:13: incompatible types in assignment to an arithmetic type lvalue

Sorry for delay with the answer.

The test case should be run only on x86-64. It assigns va_list value to integer. On aarch64 va_list is a structure when on x86 it is a pointer. Therefore the test works fine on x86-64 and fails on aarch64.

I fixed this with 81a5729

IIvm commented

That's wonderful! I appreciate your explanation. Thank you!