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
stage2 test-run-translated-c test "boolean values and expressions" produces old function pointer semantics #12194
Comments
Do we need to change how we translate this, or is this a bug in stage2's |
I think this can be argued in either way, since translate-c is passing a function when a pointer is expected but other places in stage2 support implicit casts from functions to function pointers. I tried to fix this in translate-c earlier today and it turned out to be more complicated than I anticipated. |
Good point about implicit casts from functions to function pointers. I'm fine with solving this in Sema. |
Hmm I actually changed my mind about this one. I know it's annoying but I think this needs to be a translate-c change. The problem is that |
The text was updated successfully, but these errors were encountered: