-
Notifications
You must be signed in to change notification settings - Fork 161
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
offset_based_getter produces wrong result with clang on non-X86 platform #153
Comments
@apolukhin
Probably the condition for workaround applicability is too wide and could be fixed with extra clause |
Guess this snipped is related to the issue: https://godbolt.org/z/7xfaKf45c |
@apolukhin look at these 2 lines:
And what is the more important - without tricky ifdefs, nice! All what we need is to extend
The whole working snipped you could see here: https://godbolt.org/z/P9c3WMeha |
The attached mini reproducer fails if compiled with Clang-16 on non-X86 platform:
Test output is:
The text was updated successfully, but these errors were encountered: