Skip to content

Conversation

eeckstein
Copy link
Contributor

* Fix the right shift operator which didn't work if the number of bits is exactly 64
* Detect overflow when combining indices

Such large indices usually don't appear in real code, except in internal String operations where (potentially large) integer values are treated as pointers.

Fixes a compiler crash
swiftlang#84372
rdar://160863199
@eeckstein eeckstein requested a review from a team as a code owner September 23, 2025 05:50
@eeckstein
Copy link
Contributor Author

@swift-ci test

@eeckstein
Copy link
Contributor Author

@swift-ci test windows

@eeckstein
Copy link
Contributor Author

@swift-ci test windows

1 similar comment
@eeckstein
Copy link
Contributor Author

@swift-ci test windows

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.

2 participants