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

Support aggregate types in transmute #1380

Merged
merged 1 commit into from
Jul 15, 2022
Merged

Support aggregate types in transmute #1380

merged 1 commit into from
Jul 15, 2022

Conversation

philberty
Copy link
Member

In some testcases in libcore transmute is used on aggregate types like
array's. The convert expression code assumes simple integer's. This this
patch uses a gimple convert_expr to try and convert this type. This might
change to a generic memcpy at somepoint but lets try this first and see how
it works.

In some testcases in libcore transmute is used on aggregate types like
array's. The convert expression code assumes simple integer's. This this
patch uses a gimple convert_expr to try and convert this type. This might
change to a generic memcpy at somepoint but lets try this first and see how
it works.
@philberty philberty added the bug label Jul 14, 2022
@philberty philberty added this to the Const Generics milestone Jul 14, 2022
@philberty philberty self-assigned this Jul 14, 2022
@philberty
Copy link
Member Author

bors r+

@bors bors bot merged commit f51284b into master Jul 15, 2022
@bors
Copy link
Contributor

bors bot commented Jul 15, 2022

Build succeeded:

@philberty philberty deleted the phil/transmute branch July 15, 2022 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant