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

gccrs: add variant_count intrinsic #3426

Merged
merged 1 commit into from
Feb 11, 2025
Merged

gccrs: add variant_count intrinsic #3426

merged 1 commit into from
Feb 11, 2025

Conversation

philberty
Copy link
Member

Addresses #3348

gcc/rust/ChangeLog:

* backend/rust-compile-intrinsic.cc (variant_count_handler): new intrinsic

gcc/testsuite/ChangeLog:

* rust/execute/torture/enum_intrinsics2.rs: New test.

Addresses #3348

gcc/rust/ChangeLog:

	* backend/rust-compile-intrinsic.cc (variant_count_handler): new intrinsic

gcc/testsuite/ChangeLog:

	* rust/execute/torture/enum_intrinsics2.rs: New test.

Signed-off-by: Philip Herron <[email protected]>
@philberty philberty added this to the Remaining typecheck issues milestone Feb 11, 2025
@philberty philberty mentioned this pull request Feb 11, 2025
@philberty philberty linked an issue Feb 11, 2025 that may be closed by this pull request
@philberty philberty added this pull request to the merge queue Feb 11, 2025
Merged via the queue into master with commit 262040e Feb 11, 2025
23 checks passed
@philberty philberty deleted the phil/variant_count branch February 13, 2025 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

enum instrinsics
1 participant