| author | |
| committer | |
| log | 08f1d63be1baf18ec00514204d49cb77b35115ba |
| tree | bf44274117109e55f2ee9cdf7f05b7d5b4c95ca0 |
| parent | 0d482775cc58a086009e63b2dc288ed29904529e |
| signature |
Wow, *lots* of backends were reliant on Sema doing the heavy lifting for
them. CBE, Wasm, and SPIR-V have all regressed in places now that they
actually need to, like, initialize unions and such.4 files changed, 7 insertions(+), 0 deletions(-)
lib/std/fmt.zig+2| ... | ... | @@ -1101,6 +1101,8 @@ test "float.libc.sanity" { |
| 1101 | 1101 | } |
| 1102 | 1102 | |
| 1103 | 1103 | test "union" { |
| 1104 | if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; | |
| 1105 | ||
| 1104 | 1106 | const TU = union(enum) { |
| 1105 | 1107 | float: f32, |
| 1106 | 1108 | int: u32, |
test/behavior/cast_int.zig+1| ... | ... | @@ -217,6 +217,7 @@ test "load non byte-sized value in struct" { |
| 217 | 217 | test "load non byte-sized value in union" { |
| 218 | 218 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; |
| 219 | 219 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; |
| 220 | if (builtin.zig_backend == .stage2_spirv) return error.SkipZigTest; | |
| 220 | 221 | if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; |
| 221 | 222 | if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; |
| 222 | 223 |
test/behavior/field_parent_ptr.zig+3| ... | ... | @@ -586,6 +586,7 @@ test "@fieldParentPtr extern struct last zero-bit field" { |
| 586 | 586 | } |
| 587 | 587 | |
| 588 | 588 | test "@fieldParentPtr unaligned packed struct" { |
| 589 | if (builtin.zig_backend == .stage2_wasm) return error.SkipZigTest; | |
| 589 | 590 | if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; |
| 590 | 591 | if (builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; |
| 591 | 592 | if (builtin.zig_backend == .stage2_spirv) return error.SkipZigTest; |
| ... | ... | @@ -725,6 +726,7 @@ test "@fieldParentPtr unaligned packed struct" { |
| 725 | 726 | } |
| 726 | 727 | |
| 727 | 728 | test "@fieldParentPtr aligned packed struct" { |
| 729 | if (builtin.zig_backend == .stage2_wasm) return error.SkipZigTest; | |
| 728 | 730 | if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; |
| 729 | 731 | if (builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; |
| 730 | 732 | if (builtin.zig_backend == .stage2_spirv) return error.SkipZigTest; |
| ... | ... | @@ -1614,6 +1616,7 @@ test "@fieldParentPtr untagged union" { |
| 1614 | 1616 | } |
| 1615 | 1617 | |
| 1616 | 1618 | test "@fieldParentPtr extern union" { |
| 1619 | if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; | |
| 1617 | 1620 | if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; |
| 1618 | 1621 | if (builtin.zig_backend == .stage2_spirv) return error.SkipZigTest; |
| 1619 | 1622 |
test/behavior/packed-struct.zig+1| ... | ... | @@ -1319,6 +1319,7 @@ test "packed struct equality ignores padding bits" { |
| 1319 | 1319 | } |
| 1320 | 1320 | |
| 1321 | 1321 | test "packed struct with signed field" { |
| 1322 | if (builtin.zig_backend == .stage2_spirv) return error.SkipZigTest; | |
| 1322 | 1323 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; |
| 1323 | 1324 | |
| 1324 | 1325 | var s: packed struct { |