Commit Graph
1235 Commits
Author SHA1 Message Date
bplu4t2f 40b68a7102 Experimental hot path optimization in XML test. 2026-10-08 23:09:37 +02:00
bplu4t2f db3224348a Speed up map tests 2026-10-08 16:11:31 +02:00
Jeroen van Rijn a961bb5ddb Merge pull request #7818 from bbodi/fix/sha3-init-round-start
Reset keccak_round_start in _sha3.init
2026-10-08 02:51:19 -07:00
bbodi f7f3e63191 Reset keccak_round_start in _sha3.init
init left the round start untouched. A context that skipped zeroing
with `= ---`, or one reused after TurboSHAKE, kept a stale value, so
SHA-3 and SHAKE ran too few rounds and returned wrong hashes silently.
2026-10-08 11:02:47 +02:00
Jeroen van Rijn 4d09219ff4 Merge pull request #7616 from wardjm/fix/parse_int_overflow
Fixed strconv overflow noted in issue#7608.
2026-10-08 01:57:40 -07:00
Jeffrey Ward c2684b43cb Added tests from issue 7608 comments.
Fixed "_" only and no digits. Now returns an error since this is effectively passing nothing to the parser.
2026-10-07 21:28:43 -04:00
gingerBill 711f08a641 Make is_type_lock_free follow what each target lowers without library calls, and reject atomics on types which are not lock-free 2026-10-07 21:58:32 +01:00
gingerBill 403738e5cd Merge pull request #7802 from odin-lang/bill/compiler-improvements-2026-10
Flow-based Escape Analysis of Stack Memory + Show where parapoly procedures and records were instantiated in errors within them
2026-10-07 21:19:06 +01:00
gingerBill b9aa030773 Merge pull request #7812 from bplu4t2f/fix-test-7547-spurious-error
Fix spurious error in `test_issue_7547`
2026-10-07 19:04:34 +01:00
bplu4t2f 0fd160b942 Fix spurious error in test_issue_7547 2026-10-07 19:47:15 +02:00
gingerBill 6413e89d63 Merge pull request #7809 from odin-lang/bill/general-feature-improvements
General Feature Improvements
2026-10-07 17:39:07 +01:00
gingerBill b428be5b42 Add tests for @(align=N) variables and the return address intrinsics 2026-10-07 17:08:21 +01:00
gingerBill c713bede2f Stop core and tests leaving references to stack memory behind 2026-10-07 15:49:33 +01:00
gingerBill 30f80e1079 Align matrices to their largest power-of-two column/row stride, capped at 16; pad fixed capacity dynamic arrays of over-aligned elements to their full size 2026-10-07 15:40:59 +01:00
SOBEX 439485507f Fix #7798 by sorting link_names with Procedures before ForeignProcedures 2026-10-07 15:03:20 +02:00
gingerBill 238699e793 Fix test_issue_5699.odin 2026-10-07 13:37:18 +01:00
gingerBill f9676e0dcb Fix a dangling any in test_static_any 2026-10-07 13:27:38 +01:00
Jeroen van Rijn 1352d0235b Update test_issue_7779.odin
Catch leak in regression test
2026-10-07 11:15:11 +02:00
bplu4t2f 758cdd19ae Fix #7779 - Make encoding/hex behave well on errors. 2026-10-07 10:47:57 +02:00
corley 8b573fcf5e adds alignment regression tests 2026-10-07 01:38:31 +03:00
Mihail Moskov 55c6cf3dea fixes regressions at sites needing true address caused by temp copy 2026-10-06 20:21:05 +03:00
Jeroen van Rijn 3500b228f9 Merge pull request #7740 from bplu4t2f/test-7689
Fix #7689 - Incorrect debug source location at the end of if/else chains
2026-10-05 02:26:51 -07:00
gingerBill 4957867890 Update test_core_runtime.odin 2026-10-04 19:16:24 +01:00
gingerBill f05c574cae Merge pull request #7520 from Pippoosh/fix-soa-pointer-using-field
Fix #soa pointer field access through using
2026-10-04 19:01:28 +01:00
gingerBill 18aead3ba1 Merge pull request #7729 from odin-lang/bill/llvm-backend-improvements
LLVM Backend Performance Improvements to Reduce Compile Times Part 2
2026-10-04 19:01:11 +01:00
bplu4t2f 854cd0e8d8 Fix #7689 - set debug source location of if/else "done" jump to end of the respective block 2026-10-04 14:54:00 +02:00
Jeroen van Rijn 667efeb840 Merge pull request #7731 from Arthur031221/fix/timezone-utc-nanoseconds-20261004-s29
Preserve fractional timestamps in timezone conversions
2026-10-04 05:24:55 -07:00
bplu4t2f e5b8ea0d2a Add test for issue #7689 2026-10-04 14:09:47 +02:00
gingerBill 5a4b877beb Only match the missing procedure assertion in the equal procedure dependencies issue test 2026-10-03 22:33:08 +01:00
gingerBill 733c3fdea7 Add to the tests the equal procedure dependencies test 2026-10-03 22:31:40 +01:00
gingerBill b079c1a23b Merge pull request #7672 from MatzeOGH/fast_float_swar_parse
Second Part of the Fast Float Port (SWAR based scanning)
2026-10-03 22:31:02 +01:00
Arthur031221anddozn d046345202 Preserve fractional timestamps in timezone conversions
Apply timezone offsets to the normalized nanosecond timestamp.
Test fractional roundtrips, dates before 1970 and nanosecond carry.

Co-authored-by: dozn <16659513+dozn@users.noreply.github.com>
Signed-off-by: Arthur031221 <levi74108520963@gmail.com>
2026-10-04 03:39:11 +08:00
gingerBill fcab1c1887 Merge remote-tracking branch 'remotes/Odin-GitHub/master' into bill/llvm-backend-improvements 2026-10-03 15:29:46 +01:00
gingerBill ecfd651f95 Use atomics for the flags name_test 2026-10-03 15:26:49 +01:00
gingerBill 0a57d94f08 Merge pull request #7720 from odin-lang/bill/llvm-backend-improvements
LLVM Backend Performance Improvements to Reduce Compile Times Part 1
2026-10-03 15:03:39 +01:00
gingerBill 5031e2733e Add the comparison procedures of types in the type table and map keys as dependencies making the backend no longer has to create missing procedures 2026-10-03 12:38:00 +01:00
Artur Leite d8a598b1a3 Accept .Recv channels in chan.recv and chan.try_recv 2026-10-03 13:01:17 +02:00
gingerBill e5cc35c445 Lower what LLVM's fast instruction selector cannot select before emitting objects, and declare debug variables through stack slots 2026-10-03 11:02:55 +01:00
gingerBill 8b4f855fc6 Fix a union constant from a field omitted in a constant compound literal being nil 2026-10-03 09:42:26 +01:00
gingerBill f670de9e80 Define and initialize global variables in their own modules 2026-10-03 08:28:31 +01:00
Arthur031221andblob1807 093357f63e Preserve zero-initialized arrays in intrinsics.concatenate
Co-authored-by: blob1807 <12388588+blob1807@users.noreply.github.com>
2026-10-03 11:26:45 +08:00
gingerBill 3a45aaa539 Merge branch 'master' of https://github.com/odin-lang/Odin 2026-10-02 23:40:30 +01:00
gingerBill 2ca1a21777 Merge pull request #7714 from louisnovy/fix-global-address-of-literal
Handle globals initialized with the address of a non constant literal
2026-10-02 23:25:10 +01:00
gingerBill c628768c5e Strip constant parameters from specialized procedure types; fix calling a parenthesized polymorphic callee 2026-10-02 23:11:13 +01:00
Louis Novy 3b8e53a991 Handle globals initialized with the address of a non constant literal 2026-10-02 13:39:33 -04:00
gingerBill 63d28377bb Pass a copy of a value within a packed struct to a procedure by reference when its address is not known to be aligned to its type, and lower the alignment of loads and stores to that known from the GEPs leading to their address 2026-10-02 17:22:15 +01:00
gingerBill 1d3f982b50 Allow intrinsics.procedure_of on procedures without results or requiring a context; treat a specialized procedure's type as concrete 2026-10-02 17:10:03 +01:00
gingerBill f0ac6c3fba Fix #7700: constant #soa field access yields the per-element field array; compare and canonicalize typeid constants 2026-10-02 16:55:57 +01:00
gingerBill ff02184b2e Fix #7708: compare a polymorphic record's constant parameters by value in subst_unify 2026-10-02 16:42:33 +01:00
gingerBill 03852e7af8 Generate each global's initialization in its own block of the startup procedure; generate the procedure literals reached from the initializations of globals in their own package's module rather than the default module 2026-10-02 15:36:04 +01:00