Skip to content

gccrs: add variant_count intrinsic#3426

Merged
philberty merged 1 commit into
masterfrom
phil/variant_count
Feb 11, 2025
Merged

gccrs: add variant_count intrinsic#3426
philberty merged 1 commit into
masterfrom
phil/variant_count

Conversation

@philberty

Copy link
Copy Markdown
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 <herron.philip@googlemail.com>
@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
@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