Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Issue 12164 - Function returning ptrdiff_t.min in 64-bit returnin…
…g 0 when -O is set The trick used to optimize ?const:const doesn't work when you can't actually express the value as immediates. They were silently truncated leading to incorrect results. Values were also truncated due to a typo.
- Loading branch information
Showing
2 changed files
with
56 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters