-
Notifications
You must be signed in to change notification settings - Fork 11k
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
[X86_32] Structure of size 0 in C++ get wrong result when emit vaarg #86385
Comments
@llvm/issue-subscribers-backend-x86 Author: Longsheng Mou (CoTinker)
demo.c
```
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
struct S1644 {struct{int a[0];}b;} ;
0
0
|
demo.c
clang:
gcc:
https://godbolt.org/z/G9enr4q5b
The text was updated successfully, but these errors were encountered: