Skip to content

sret attribute not applied to extern "C" fn indirect calls #9152

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

Closed
thestinger opened this issue Sep 13, 2013 · 0 comments
Closed

sret attribute not applied to extern "C" fn indirect calls #9152

thestinger opened this issue Sep 13, 2013 · 0 comments
Labels
I-crash Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.

Comments

@thestinger
Copy link
Contributor

LLVM needs the attributes with relevance to the caller applied for a call instruction using a function pointer.

bors added a commit that referenced this issue Sep 13, 2013
Since function pointers do not carry along the function attributes with
them in the type, this needs to be set on the call instruction itself.

Closes #9152
flip1995 pushed a commit to flip1995/rust that referenced this issue Jul 18, 2022
Fix Clippy version in `derive_partial_eq_without_eq` lint

It was first added to Rust in rust-lang#97248 which missed 1.62 just by few days.

changelog: none
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I-crash Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant