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

2 similar comments
@eeckstein
Copy link
Contributor Author

@swift-ci test windows

@eeckstein
Copy link
Contributor Author

@swift-ci test windows

@eeckstein eeckstein merged commit 47a8384 into swiftlang:release/6.2 Sep 25, 2025
5 checks passed
@eeckstein eeckstein deleted the fix-smallprojectionpath-6.2 branch September 25, 2025 10:51
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