aboutsummaryrefslogtreecommitdiff
path: root/test/behavior
AgeCommit message (Collapse)Author
2025-11-20update deprecated ArrayListUnmanaged usage (#25958)Benjamin Jurk
2025-11-14represent Mac Catalyst as aarch64-maccatalyst-none rather than ↵Alex Rønne Petersen
aarch64-ios-macabi Apple's own headers and tbd files prefer to think of Mac Catalyst as a distinct OS target. Earlier, when DriverKit support was added to LLVM, it was represented a distinct OS. So why Apple decided to only represent Mac Catalyst as an ABI in the target triple is beyond me. But this isn't the first time they've ignored established target triple norms (see: armv7k and aarch64_32) and it probably won't be the last. While doing this, I also audited all Darwin OS prongs throughout the codebase and made sure they cover all the tags.
2025-11-12cbe: work around some miscompilationsMatthew Lugg
The changes to `codegen.c` are blatant hacks, but the problem they work around isn't a regression: it's an existing miscompilation. This branch happened to *expose* that miscompilation in more cases by changing how an incorrect result is *used*.
2025-11-12behavior: disable test on cbeMatthew Lugg
This isn't so much a regression as it is foreshadowing of accepted proposal https://github.com/ziglang/zig/issues/24657.
2025-11-04codegen: fix tuple paddingJacob Young
Closes #25797
2025-10-30aarch64: implement optional comparisonsJacob Young
2025-10-29x86_64: continue hacking around unimplemented linker logicJacob Young
Closes #25666
2025-10-18tweak tests to avoid timeoutsmlugg
2025-10-10Coff: implement threadlocal variablesJacob Young
2025-10-08don't make OPV tuple fields `comptime`xdBronch
2025-10-07don't make anonymous tuple fields referencing `comptime var`s `comptime`xdBronch
2025-10-06don't pass zero-length `@memset` to the backendxdBronch
2025-10-03x86_64: fix bool vector init register clobberJacob Young
Closes #25439
2025-10-02Coff2: create a new linker from scratchJacob Young
2025-10-02x86_64: fix windows calling convention abiJacob Young
2025-09-27x86_64: fix `~`/`!` miscompsJacob Young
2025-09-25Merge pull request #24497 from ziglang/aro-translate-cAndrew Kelley
compiler: update aro and translate-c to latest; delete clang translate-c
2025-09-24x86_64: improve support for large enumsJacob Young
Closes #25247
2025-09-24remove behavior test that depended on std.zig.c_translationAndrew Kelley
behavior tests may not depend on this namespace.
2025-09-23forbid trivial local address returned from functions (#25333)Andrew Kelley
progress towards #25312
2025-09-20add behavior test: comptime C pointer to optional pointerAndrew Kelley
2025-09-20add behavior test: avoid unused field function body compile errorAndrew Kelley
2025-09-20add behavior test: resist alias of explicit copy...Andrew Kelley
...of array passed as arg closes #22906
2025-09-20allow some test cases to regressAndrew Kelley
tracked by #24061 - these should be re-enabled once that is solved.
2025-09-20Revert "frontend: another packedStructFieldPtrInfo fix"mlugg
This reverts commit dedccecda944f88a5278c12c24ffbea46126de63.
2025-09-20aarch64: fix behavior failuresJacob Young
2025-09-20disable failing stage2_aarch64 behavior testsAndrew Kelley
2025-09-20frontend: another packedStructFieldPtrInfo fixAndrew Kelley
it was calculating host integer size in a wrong way. just use integer abi size
2025-09-20frontend: packed struct field ptr no longer finds byte bordersAndrew Kelley
technically breaking, but I doubt anyone will notice.
2025-09-20aarch64: enable fixed behaviorJacob Young
2025-09-20coerce vectors to arrays rather than inline forAndrew Kelley
2025-09-20compiler: require comptime vector indexesAndrew Kelley
2025-09-20add behavior test: return undefined pointer from functionAndrew Kelley
This clarifies that it is legal to return an invalid pointer from a function, provided that such pointer is not dereferenced. This matches current status quo of the language. Any change to this should be a proposal that argues for different semantics. It is also legal in C to return a pointer to a local. The C backend lowers such thing directly, so the corresponding warning in C must be disabled (`-Wno-return-stack-address`).
2025-09-18test: disable some vector ctz/clz behavior tests on LoongArch with LSXAlex Rønne Petersen
https://github.com/llvm/llvm-project/issues/159529
2025-09-18test: skip `alternative constraints` behavior test on LoongArchAlex Rønne Petersen
https://github.com/llvm/llvm-project/issues/159200
2025-09-17fix handling of comptime-only union fields in `Type.getUnionLayout` (#25182)Silver
Fixes #25180
2025-09-17Merge pull request #25201 from jacobly0/x86_64-addsatAndrew Kelley
x86_64: fix strictness edge cases in `+|`
2025-09-13std.math.big.int: normalize zero result for small multiplicationsmlugg
Resolves: #25221
2025-09-10x86_64: delete usages of avx2 `vpack?s??`Jacob Young
This instruction actually has fairly useless semantics, and even the cases that were semantically correct could save 1 cycle of latency by using a different sequnce involving the avx version instead. Closes #25174
2025-09-10x86_64: fix strictness edge cases in `+|`Jacob Young
Closes #25145
2025-09-07behavior tests: remove one dependency on std libAndrew Kelley
2025-09-07wasm backend: disable failing behavior testsAndrew Kelley
2025-09-05disable failing behavior test on stage2_aarch64Andrew Kelley
2025-09-05behavior tests: update for new requirementAndrew Kelley
packed union fields must all have matching bit sizes
2025-09-04Reenable vector tests for armeb/thumbebLuna Schwalbe
https://github.com/ziglang/zig/issues/22060 has been fixed by upstream.
2025-08-31delete behavior test that depends on std.fmtAndrew Kelley
behavior tests should have minimal dependency on std
2025-08-30test: disable some varargs behavior tests on RISC-V due to LLVM 21 regressionAlex Rønne Petersen
https://github.com/ziglang/zig/issues/25064
2025-08-30test: re-enable a bunch of vector behavior tests on hexagonAlex Rønne Petersen
2025-08-29Merge pull request #25036 from ziglang/GenericWriterAndrew Kelley
std.Io: delete GenericWriter, AnyWriter, and null_writer
2025-08-29LLVM backend:fix align 1 sret parameter load returnedAndrew Kelley
closes #25067