Bug 22898 – [REG 2.100-master] Solaris: byte.min value is 128

Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
Solaris
Creation time
2022-03-18T10:26:33Z
Last change time
2022-12-18T16:40:29Z
Assigned to
No Owner
Creator
Iain Buclaw

Comments

Comment #0 by ibuclaw — 2022-03-18T10:26:33Z
druntime/core/stdc/stdint.d: --- alias int8_t = char; alias uint8_t = ubyte; dmd/globals.d: --- alias d_int8 = int8_t; alias d_uns8 = uint8_t; dmd/expression.d: --- case Tint8: result = cast(d_int8)value; break; case Tchar: case Tuns8: result = cast(d_uns8)value; break; --- D sees both char and ubyte as having the same signed-ness.
Comment #1 by dlang-bot — 2022-03-18T11:25:09Z
@ibuclaw created dlang/dmd pull request #13834 "Issue 22898 - [REG master] Solaris: byte.min value is 128" mentioning this issue: - Issue 22898 - [REG master] Solaris: byte.min value is 128 https://github.com/dlang/dmd/pull/13834
Comment #2 by dlang-bot — 2022-03-19T04:23:34Z
dlang/dmd pull request #13834 "Issue 22898 - [REG master] Solaris: byte.min value is 128" was merged into master: - 9fa6bbe4aef463c967f352dedcdfa53e0613d82c by Iain Buclaw: Issue 22898 - [REG master] Solaris: byte.min value is 128 https://github.com/dlang/dmd/pull/13834
Comment #3 by ibuclaw — 2022-12-18T16:39:47Z