Issue |
83762
|
Summary |
__builtin_dump_struct throws compilation error on __int128 bit fields
|
Labels |
new issue
|
Assignees |
|
Reporter |
hnarkaytis
|
clang --version
clang version 19.0.0git (https://github.com/llvm/llvm-project.git ccc48d45b832def14c8bc1849cf64c805892368d)
Target: arm64-apple-darwin23.3.0
Thread model: posix
```
#include <stdio.h>
typedef struct x_t {
__int128 x : 1;
} x_t;
int main ()
{
x_t x = {0};
__builtin_dump_struct (&x, printf);
return (0);
}
```
repro.c:10:3: error: address of bit-field requested
10 | __builtin_dump_struct (&x, printf);
| ^
1 error generated.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs