aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/array.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-07-13 13:14:37 -0700
committerAndrew Kelley <andrew@ziglang.org>2022-07-13 13:14:37 -0700
commit92bc3cbe27792be0300fb5f104c011a11f3cf40f (patch)
tree8d9e7f2df29a824d104cfa01d2eb832d456554aa /test/behavior/array.zig
parent35e70111248f795fbdcefd5ae0d6fc494d1b0683 (diff)
downloadzig-92bc3cbe27792be0300fb5f104c011a11f3cf40f.tar.gz
zig-92bc3cbe27792be0300fb5f104c011a11f3cf40f.zip
stage2: fix comptime bitcast involving f80
* Sema: implement comptime bitcast of f80 with integer-like types bitwise rather than taking a round trip through memory layout. * Type: introduce `isAbiInt`. * Value: comptime memory write of f80 writes 0 bytes for padding instead of leaving the memory uninitialized. * Value: floatReadFromMemory has a more general implementation, checking the endianness rather than checking for specific architectures. This fixes behavior test failures occurring on MIPS.
Diffstat (limited to 'test/behavior/array.zig')
0 files changed, 0 insertions, 0 deletions