Skip to content

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

Merged
mosteo merged 1 commit into
alire-project:masterfrom
dalybrown:fix/arm64-pins
Jan 23, 2024
Merged

Move To_Portable to body and make it a regular function#1541
mosteo merged 1 commit into
alire-project:masterfrom
dalybrown:fix/arm64-pins

Conversation

@dalybrown

@dalybrown dalybrown commented Jan 22, 2024

Copy link
Copy Markdown
Contributor

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

mosteo commented Jan 23, 2024

Copy link
Copy Markdown
Member

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
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