Commit Graph

1077 Commits

Author SHA1 Message Date
gingerBill
2214d90997 Merge branch 'master' into bool_comparison_normalise 2026-08-25 15:31:19 +01:00
gingerBill
771cbfa31a Merge pull request #7439 from ssenthilnathan3/fix/proc-literal-type-canonicalization
Fix canonical names for types in procedure literals
2026-08-25 15:12:32 +01:00
Senthilnathan
559ed487e6 fix: canonical names for types in procedure literals 2026-08-25 14:41:48 +05:30
Jeroen van Rijn
5a994d4ea2 Merge pull request #7450 from kalsprite/mod_min_neg_one
Fix: `min(T) % -1` kills the process with SIGFPE, at every hardware width.
2026-08-25 01:32:21 -07:00
kalsprite
5628815bfe mod -1 2026-08-24 19:46:47 -07:00
Jeroen van Rijn
33d4c68abe Merge pull request #7401 from kalsprite/nbio_windows_wakeup
nbio(windows): fix use-after-free, spurious poll readiness, and double completion
2026-08-24 19:02:24 -07:00
kalsprite
4ecaa7dfd9 normalize bool cmp 2026-08-24 18:34:59 -07:00
Jeroen van Rijn
66f9dbca8a Merge branch 'master' into bool_be_conversion 2026-08-24 18:31:30 -07:00
kalsprite
c3bfbea235 big endian bool cmp 2026-08-24 18:15:01 -07:00
kalsprite
301baf0b88 remove faulty tests 2026-08-24 17:46:55 -07:00
gingerBill
805fc07854 Fix indentation of run.sh 2026-08-24 14:13:28 +01:00
gingerBill
cebceb9bb2 Merge branch 'master' into asm_rip_width 2026-08-24 09:31:54 +01:00
gingerBill
48daf8e511 Merge pull request #7431 from kalsprite/asm_named_register_slot
Reject asm operands in slots only a named hardware register can fill
2026-08-24 09:30:20 +01:00
gingerBill
754ac9a45b Merge pull request #7437 from kalsprite/asm_cast_guard
Asm cast guard
2026-08-24 09:25:13 +01:00
kalsprite
40fd892cf5 Reject a named asm template used as a value instead of aborting the compiler 2026-08-24 00:27:26 -07:00
kalsprite
b6c64c28b5 Diagnose in an asm template instead of aborting with SIGILL 2026-08-23 22:36:57 -07:00
kalsprite
deb45f3e6a asm named slots 2026-08-23 21:34:31 -07:00
Jeroen van Rijn
24d86de624 One more. 2026-08-23 21:49:39 +02:00
Jeroen van Rijn
2439aaf181 Remove imports of deprecated core:os/old. 2026-08-23 21:46:30 +02:00
gingerBill
fff69510b9 Merge pull request #7412 from mocompute/fix-7008
fix incorrect offset_of and size_of for unions with cyclic pointers
2026-08-23 10:52:14 +01:00
Manuel
d79ef965a0 Fix formatting 2026-08-22 21:50:07 +02:00
Manuel
ee04c3b272 Add murmur3 implementation 2026-08-22 15:48:38 +02:00
Jeroen van Rijn
2370de888c Merge branch 'master' into type_call_null_arg 2026-08-22 03:12:01 +02:00
Jeroen van Rijn
830f41e280 Merge pull request #7417 from kalsprite/foreign_sig_named_struct
Fix segfault comparing two foreign declarations of the same symbol
2026-08-22 03:11:27 +02:00
kalsprite
c29596e88f fix test typo 2026-08-21 17:59:02 -07:00
kalsprite
ef1c5fe675 Fix compiler segfault on a bare in a type position call 2026-08-21 17:54:13 -07:00
kalsprite
f8bdfa0857 Fix segfault comparing two foreign declarations of the same symbol 2026-08-21 17:31:42 -07:00
kalsprite
7fe49fbffb Fix compiler panic on a selector into 2026-08-21 16:38:56 -07:00
mo
7bb0bc353f add regression test for incorrect offset_of 2026-08-22 11:12:11 +12:00
kalsprite
fe52f23b50 tests/core/nbio/remove.odin 2026-08-21 15:25:18 -07:00
kalsprite
d29b2cadbd nbio(tests): fill the socket until sending blocks 2026-08-21 21:58:40 -07:00
kalsprite
7bb55ba45b nbio(windows): poll sockets through AFD 2026-08-21 21:31:49 -07:00
kalsprite
1b4e14fbc5 restore fail timeout 2026-08-21 20:43:33 -07:00
Michael Tesař
6fadf91c84 add windows test 2026-08-21 19:20:11 +02:00
Michael Tesař
b6c90b18dd fix failing tests 2026-08-21 19:18:25 +02:00
kalsprite
d2da33235d nbio(windows): handle queued work in the tick that was woken for it; nbio(tests): let wake_up tolerate a tick that returns without progress 2026-08-21 09:18:57 -07:00
Michael Tesar
7d02788257 Fix reordered compound literal comparison 2026-08-21 00:46:47 +02:00
Jeroen van Rijn
00a03e72b5 Merge pull request #7400 from kalsprite/union_slice_assert
backend: only reuse a compound literal's storage for a variable of its type
2026-08-20 03:38:09 +02:00
Jeroen van Rijn
6695ca537d Merge pull request #7087 from korvahkh/const-union-fixes
Implement fixes for constant unions
2026-08-20 03:35:36 +02:00
Jeroen van Rijn
e551ef5f15 Merge pull request #7397 from kalsprite/union_ternary_phi
backend: a union constant in a ternary or  builds an ill-typed phi
2026-08-20 03:24:04 +02:00
korvahkh
feb008ab6e Add tests for constant unions 2026-08-19 20:16:51 -05:00
kalsprite
bc2649bacd backend: only reuse a compound literal's storage for a variable of its type 2026-08-19 17:53:34 -07:00
kalsprite
f360a37ccd cmplx & quat take type from args 2026-08-19 17:36:50 -07:00
kalsprite
a13a4b418d backend: a union constant in a ternary or builds an ill-typed phi 2026-08-19 16:45:58 -07:00
kalsprite
cf5f181228 peel union constant to its variant 2026-08-19 16:30:37 -07:00
gingerBill
6defecf436 Merge pull request #7392 from kalsprite/asm_extend_mnemonics
amd64 asm: extend family emits mnemonic that doesnt exist
2026-08-19 23:54:37 +02:00
kalsprite
40a64a9dbb move test to build specific 2026-08-19 14:39:12 -07:00
kalsprite
26ae28dfb7 asm: multi-instruction template computed with one operand twice 2026-08-19 14:32:03 -07:00
kalsprite
b9983105bd amd64 asm: extend family emits mnemonic that doesnt exist 2026-08-19 14:03:56 -07:00
Jeroen van Rijn
b7944229e5 Merge pull request #7385 from kalsprite/bit_field_value_range
bitfield: a constant is range-checked only while it is untyped
2026-08-19 20:48:58 +02:00