Skip to content

Fix #[inline(always)] attribute and support unsigned comparison for signed integers #352

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

Merged
merged 4 commits into from
Oct 17, 2023

Conversation

antoyo
Copy link
Contributor

@antoyo antoyo commented Oct 11, 2023

No description provided.

@antoyo antoyo changed the title Update libgccjit Fix #[inline(always)] attribute Oct 12, 2023
@antoyo antoyo changed the title Fix #[inline(always)] attribute Fix #[inline(always)] attribute and support unsigned comparison for signed integers Oct 12, 2023
@antoyo antoyo mentioned this pull request Oct 12, 2023
This test only fails with non-native 128-bit integers, but it will also
fail with native 128-bit integers if we copy/paste it so that it's
executed twice. Interestingly, wrapping the test in a loop won't make it
fail.
So, it could be due to stack space or unwinding in release mode.
Also, the test only fails with -O2:
../cargo.sh rustc --bin test-rust -- -O

It doesn't fail with -O3.
@antoyo antoyo merged commit 4dce75f into master Oct 17, 2023
@antoyo antoyo deleted the update-libgccjit branch October 17, 2023 12:41
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

Successfully merging this pull request may close these issues.

1 participant