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
constexpr __builtin_bit_cast
involving bit-field
#54018
Comments
@llvm/issue-subscribers-clang-frontend |
I see this error message when I try to build libcxxabi 14.0.6 on NetBSD 9.99.98/amd64 (which comes with gcc 10.3.0 in case it matters):
|
Hi, Sorry for jumping in uninvited but, would this just compile with gcc >= 11? |
Hi @0323pin ! My code sample works for gcc 11 and MSVC 2022: https://godbolt.org/z/s1ETKj5ET |
@fsb4000 Thanks! |
Unfortunately, the presence of the error message and the test don't imply that this is being actively worked on. Just that it was known at the time it was implemented. |
https://godbolt.org/z/z99v39n1Y
Well, because of the note, I think this is a known issue.
But I couldn't find it via github issues, so I decided to create a new one.
https://github.com/llvm/llvm-project/issues?q=__builtin_bit_cast+is%3Aopen
https://github.com/llvm/llvm-project/issues?q=bit_cast+is%3Aopen
The text was updated successfully, but these errors were encountered: