| author | |
| committer | |
| log | 38bd2bbcf27a34f232dd540534c3fb8063a0e24a |
| tree | cf4a9f99eb40c9dcf63291e3f5f364c7fe8d671f |
| parent | 9d8cdb855bd20f20d00618e8bc78dcf237232537 |
This fixes a miscompilation compiling debug zig with release stage3 zig.1 files changed, 1 insertions(+), 0 deletions(-)
src/codegen/llvm.zig+1| ... | ... | @@ -10277,6 +10277,7 @@ fn ccAbiPromoteInt( |
| 10277 | 10277 | else => {}, |
| 10278 | 10278 | } |
| 10279 | 10279 | const int_info = switch (ty.zigTypeTag()) { |
| 10280 | .Bool => Type.@"u1".intInfo(target), | |
| 10280 | 10281 | .Int, .Enum, .ErrorSet => ty.intInfo(target), |
| 10281 | 10282 | else => return null, |
| 10282 | 10283 | }; |