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

short-circuit overflow protection for M1 Mac clang #827

Merged
merged 2 commits into from
Oct 12, 2022

Conversation

mckib2
Copy link
Contributor

@mckib2 mckib2 commented Oct 2, 2022

Closes #826
xref scipy/scipy#14901

Splits single if statement into two to avoid apparent clang short-circuit bug on M1 Mac platforms.

@mborland
Copy link
Member

@mckib2 I added the test from your linked issue and verified the patch works on my M1 machine. Will merge once the CI cycles.

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.

beta distribution clang M1 optimization short-circuit bug
2 participants