Skip to content
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

Isn't it possible to have something similar to this: https://c.godbolt.org/z/hf538n1qf to check it is working as expected? #2624

Open
philberty opened this issue Sep 14, 2023 · 1 comment

Comments

@philberty
Copy link
Member

philberty commented Sep 14, 2023

Isn't it possible to have something similar to this: https://c.godbolt.org/z/hf538n1qf to check it is working as expected?
This simple rust example also seems to show that dead code elimination correctly uses the hint in rustc: https://rust.godbolt.org/z/qrh65a4Ex

Originally posted by @dkm in #2619 (comment)

@philberty
Copy link
Member Author

Once this is merged we should try this testcase

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant