| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2023-07-10 | Sema: resolve field type layout for anon struct type info | Ian Johnson | |
| Closes #16148 | |||
| 2023-07-03 | Merge pull request #15879 from r00ster91/more_stage1_test_coverage | Andrew Kelley | |
| More stage1 test coverage | |||
| 2023-07-03 | behavior: test @bitCast of packed struct of bools | r00ster91 | |
| This seems to have resolved itself now. Tested on x86_64 using debug optimize mode. Closes #9851 | |||
| 2023-07-01 | Merge pull request #16284 from Snektron/spirv-internpool-fixes | Andrew Kelley | |
| SPIR-V InternPool aftermath damage control | |||
| 2023-07-01 | spirv: disable new behavior tests that do not pass | Robin Voetter | |
| Some new behavior tests have recently been added, and not all of these pass with the SPIR-V backend. | |||
| 2023-06-30 | Unrevert "Sema: preserve extern struct field alignment" | Jacob Young | |
| This unreverts commit 1a2468abfcd8b539193d943c1eefb71319cc7b88. | |||
| 2023-06-30 | Remerge pull request #15995 from mlugg/fix/union-field-ptr-align | Jacob Young | |
| Sema: copy pointer alignment to union field pointers This is an unrevert of 43c98dc11567eeb38be041c7dad179c53156f3df. | |||
| 2023-06-30 | Sema: copy pointer alignment to struct field pointers | mlugg | |
| 2023-06-30 | Sema: copy pointer alignment to union field pointers | mlugg | |
| This implements the semantics as discussed in today's compiler meeting, where the alignment of pointers to fields of default-layout unions cannot exceed the field's alignment. Resolves: #15878 | |||
| 2023-06-29 | Revert "Merge pull request #15995 from mlugg/fix/union-field-ptr-align" | Jacob Young | |
| This reverts commit 40cf3f7ae5fbfb84b7af6b27e6296ee858b209ef, reversing changes made to d98147414d084bc41b00ba9c0be8c7b82ad4e76c. | |||
| 2023-06-29 | Revert "Sema: preserve extern struct field alignment" | Jacob Young | |
| This reverts commit 4620972d086ebb3b7686a79914876488c6dfd171. | |||
| 2023-06-28 | Sema: preserve extern struct field alignment | Alex Kladov | |
| In extern struct { x: u32, y: u16 } we actually know that y's alignment is `@alignOf(u32)`, and not just `@alignOf(u16)`. closes: #16134 | |||
| 2023-06-28 | behavior: test slicing array of zero-sized values | zooster | |
| Closes #15343 | |||
| 2023-06-27 | behavior: boolean vector with 2 or more elements | r00ster91 | |
| Closes #12169 | |||
| 2023-06-27 | behavior: if-@as-if chain | r00ster91 | |
| Closes #8952 | |||
| 2023-06-27 | behavior: correct alignment for elements and slices of aligned array | r00ster91 | |
| Closes #11751 | |||
| 2023-06-26 | Sema: fix `@min`/`@max` type resolution with all runtime args | Jacob Young | |
| Closes #16229 | |||
| 2023-06-26 | AstGen: fix result locations for elements of typed array init | mlugg | |
| Resolves: #16226 | |||
| 2023-06-26 | Value: fix incorrect types returned from readFromMemory | Jacob Young | |
| 2023-06-26 | Merge pull request #15771 from jacobly0/x86_64-behavior | jacobly0 | |
| x86_64: behavior | |||
| 2023-06-25 | Merge pull request #15995 from mlugg/fix/union-field-ptr-align | Andrew Kelley | |
| Sema: copy pointer alignment to union field pointers | |||
| 2023-06-25 | x86_64: disable failing behavior test | Jacob Young | |
| 2023-06-25 | x86_64: truncate packed field value | Jacob Young | |
| 2023-06-25 | x86_64: add missing padding to global unions | Jacob Young | |
| 2023-06-25 | x86_64: fix global pointers to packed struct fields | Jacob Young | |
| 2023-06-25 | x86_64: fix packed store crash | Jacob Young | |
| 2023-06-25 | std.cstr: deprecate namespace | Eric Joldasov | |
| Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me> | |||
| 2023-06-25 | Sema: copy pointer alignment to struct field pointers | mlugg | |
| 2023-06-25 | Sema: copy pointer alignment to union field pointers | mlugg | |
| This implements the semantics as discussed in today's compiler meeting, where the alignment of pointers to fields of default-layout unions cannot exceed the field's alignment. Resolves: #15878 | |||
| 2023-06-25 | behavior: add tests for cast builtins coercing to optional and error union | mlugg | |
| 2023-06-24 | Merge pull request #16188 from kcbanner/fix_cbe_airErrUnionPayloadPtrSet | Andrew Kelley | |
| cbe: fix crash caused by calling `mod.intValue` on `type_inferred_error_set` | |||
| 2023-06-24 | all: migrate code to new cast builtin syntax | mlugg | |
| Most of this migration was performed automatically with `zig fmt`. There were a few exceptions which I had to manually fix: * `@alignCast` and `@addrSpaceCast` cannot be automatically rewritten * `@truncate`'s fixup is incorrect for vectors * Test cases are not formatted, and their error locations change | |||
| 2023-06-24 | cbe: fix crash caused by calling `mod.intValue` on `type_inferred_error_set` | kcbanner | |
| 2023-06-23 | sema: Fix overflow when analyzing an inline switch prong range that ends on ↵ | kcbanner | |
| the maximum value of the switched type | |||
| 2023-06-22 | Value: handle more legacy tags when writing extern struct to memory | Jacob Young | |
| Closes #16130 | |||
| 2023-06-20 | Type: remove arbitrary restrictions on param and return types | Jacob Young | |
| Opaque and `noreturn` makes sense since they don't represent real values, but `null` and `undefined` are perfectly normal comptime-only values. Closes #16088 | |||
| 2023-06-20 | Sema: fix auto-numbered enums with signed tag types | Jacob Young | |
| Closes #16095 | |||
| 2023-06-20 | Fix @enumToInt and @tagName for auto-numbered enums with signed tag type. | IntegratedQuantum | |
| 2023-06-20 | codegen: Set c_char signedness based on the target | Evan Haas | |
| 2023-06-19 | Merge pull request #16046 from BratishkaErik/issue-6128 | Andrew Kelley | |
| Renaming `@xtoy` to `@YfromX` | |||
| 2023-06-19 | Module: add support for multiple global asm blocks per decl | Jacob Young | |
| Closes #16076 | |||
| 2023-06-19 | all: zig fmt and rename "@XToY" to "@YFromX" | Eric Joldasov | |
| Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me> | |||
| 2023-06-16 | Merge pull request #16064 from Luukdegram/wasm-linker | Andrew Kelley | |
| wasm/linker: symbol resolution improvements | |||
| 2023-06-16 | Sema: consider type bounds when refining result type of `@min`/`@max` | mlugg | |
| I achieved this through a major refactor of the logic of analyzeMinMax. This change should be compatible with vectors of comptime_int, which Andrew said are supposed to work (but which currently do not). | |||
| 2023-06-16 | wasm-linker: correctly resolve undefined functions | Luuk de Gram | |
| We now resolve undefined symbols during incremental-compilation where we discard the current symbol if we detect we found an existing symbol which is not the one currently being updated. The symbol will always be discarded in favor of the existing symbol in such a case. | |||
| 2023-06-16 | codegen: fix union padding | Luuk de Gram | |
| This regressed during the internpool merges. This commit reinstates the padding logic for unions. | |||
| 2023-06-15 | Merge pull request #16042 from mlugg/fix/slice-len-comptime-mutation | Andrew Kelley | |
| Fix comptime mutation of slice len | |||
| 2023-06-15 | Sema: fix @intToPtr of zero value to optional pointer | mlugg | |
| Calling into coercion logic here is a little opaque, and more to the point wholly unnecessary. Instead, the (very short) logic is now implemented directly in Sema. Resolves: #16033 | |||
| 2023-06-14 | Sema: allow indexing tuple and vector pointers | mlugg | |
| Resolves: #13852 Resolves: #14705 | |||
| 2023-06-15 | Sema: allow empty end index in zirSliceSentinel | mlugg | |
| This fixes a regression, and enables some related behavior tests which were accidentally disabled. | |||
