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

Move To_Portable to body and make it a regular function #1541

Merged
merged 1 commit into from
Jan 23, 2024

Conversation

dalybrown
Copy link
Contributor

@dalybrown dalybrown commented Jan 22, 2024

This works around an issue I was encountering when using pins on an arm64 architecture. Truthfully, I don't know why this fixes the issue but it does. I didn't take the time to go back to the reference manual to fully understand why this would address the issue. Regardless, using a regular function as opposed to an expression fixed it (for now...). This closes #1498.

@mosteo
Copy link
Member

mosteo commented Jan 23, 2024

I don't think the RM is going to have answers about this, I think it's a plain bug in the compiler. Expression functions and regular ones should be equivalent (except for syntactic limitations related to aspects) from a user POV. Maybe there are differences related to build-in-place or inlining, but I would be very surprised if there were grounds for observable different behavior.

Anyway, if you eventually find something, I'd be curious to know.

@mosteo mosteo merged commit 159d46f into alire-project:master Jan 23, 2024
13 checks passed
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.

using pins with a path on arm64 causes infinite loop
2 participants