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
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
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
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
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
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
Arthur031221 and blob1807
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
gingerBill
08dd25e28f
Merge branch 'master' of https://github.com/odin-lang/Odin
2026-10-02 14:45:10 +01:00
gingerBill
c941c3fd2b
Accept a pointer to a using subtype for a $T/^Base constraint again, binding T to the argument's type
2026-10-02 14:45:00 +01:00
gingerBill
d32c8d3e46
Merge pull request #7706 from louisnovy/fix-fixed-capacity-literal
...
Fix #7430 : Fixed capacity dynamic array literals lose their length
2026-10-02 14:38:53 +01:00
Louis Novy
4a3a7a92cb
Fix the length of fixed capacity dynamic array literals whose elements can't be constant
2026-10-02 09:29:51 -04:00
gingerBill
161f6e30e6
Merge pull request #7701 from odin-lang/bill/multithread-global-decls
...
Multithread The Entire Semantic Checker
2026-10-02 14:17:23 +01:00
gingerBill
6bc4b69ab8
Fix #7316 : a polymorphic procedure in a constant compound literal is its instance, not nil
2026-10-02 13:03:48 +01:00
gingerBill
c494c7a503
Check global entity groups in parallel
...
* CAS-claimed entities, cycle-safe waits for entities and records, lazy entities without lazy_mutex
* Build union type names only on error, take the error block only to report proc group overload errors
2026-10-01 23:17:34 +01:00
gingerBill
66c4fe1d49
Decide cycles of global whens by trying every choice of their branches; ambiguous or contradictory cycles are errors
2026-10-01 18:49:51 +01:00
gingerBill
84f06ee6a8
Add test_issue_ambiguous_union_literal.odin
2026-10-01 16:30:48 +01:00
gingerBill
379261331f
Add more tests
2026-10-01 16:29:04 +01:00
gingerBill
98e9aba1fa
Add loads of global when tests
2026-10-01 16:28:45 +01:00
gingerBill
be869ce072
Merge pull request #7679 from louisnovy/fix-nested-array-cast
...
Fix #7477 and #7506 : Casts between nested arrays of the same depth
2026-09-30 23:37:11 +01:00
Louis Novy
374024fc73
Parse integer literals without allocating per digit and reject non digits in their exponent
2026-09-30 15:50:30 -04:00
Louis Novy
3f60ed743e
Fix casts between nested arrays of the same depth
2026-09-30 08:24:58 -04:00
gingerBill
bc8635dbe7
Merge pull request #7674 from louisnovy/fix-deferred-procedure-conditional-calls
...
Fix #5105 and #5569 : Deferred call in short circuits causes LLVM codegen failure
2026-09-30 11:11:52 +01:00
Louis Novy
db46204e38
Catch calls of a deferred out proc in short circuits during check
2026-09-29 19:22:01 -04:00
gingerBill
3f518fd130
Merge pull request #7602 from corleypc/lifetime-markers
...
Adds lifetime markers for named locals
2026-09-29 17:44:06 +01:00
Louis Novy
41d3f37fba
Fix #5318 : procedures passed to $ parameters share an instantiation's name
2026-09-29 10:21:43 -04:00
corleypc
6c5651638c
Merge branch 'master' into lifetime-markers
2026-09-29 16:04:59 +03:00
gingerBill
88d2c3f11e
Merge branch 'master' into fix-7547
2026-09-29 13:13:47 +01:00
gingerBill
8640b38899
Merge pull request #7661 from louisnovy/fix-swizzle-through-pointer
...
Fix #7587 : full length swizzles through a pointer keeping the pointer type
2026-09-29 13:06:24 +01:00
gingerBill
f3ab1d4b3c
Merge pull request #7639 from louisnovy/fix-array-programming-with-matrices
...
Fix #6302 : broadcasting arrays of matrices and matrices
2026-09-29 13:05:33 +01:00
Louis Novy
adc2059d36
Merge branch 'master' of https://github.com/odin-lang/Odin into fix-swizzle-through-pointer
...
# Conflicts:
# tests/issues/run.bat
# tests/issues/run.sh
2026-09-29 02:27:05 -04:00
Louis Novy
e9657d17b6
Cover #5214 in the forwarded $ procedure test
2026-09-28 09:58:59 -04:00
Louis Novy
7b10b43f08
Rename the forwarded $ procedure test after #6951
2026-09-28 09:47:53 -04:00
Louis Novy
35d5998039
Merge branch 'odin-lang:master' into fix-forwarded-poly-proc-param
2026-09-28 09:35:20 -04:00
Louis Novy
fc8b49f5f5
Fix the same $ procedure argument generating duplicate instantiations
2026-09-27 10:40:33 -04:00
gingerBill
9924dcebd3
Merge pull request #7629 from Dreamshade-1911/fix/proc-lit-union-variant-compound-lit
...
Fix #7596 and #7511
2026-09-27 15:01:39 +01:00