Commit Graph

6515 Commits

Author SHA1 Message Date
Franz
cd577b2eef Shrink lock region of func_raw_types_mutex to avoid deadlock. 2026-07-15 23:14:24 +02:00
gingerBill
7c2b219259 Merge pull request #7045 from BlackGoku36/master
Fix arm64 argument alignment abi for composite type of size <= 16 bytes
2026-07-15 14:01:48 +01:00
gingerBill
663bc20c51 Merge pull request #7051 from FourteenBrush/patch-6
Fix switch fallthrough in lb_emit_struct_ev (Fixes #7050)
2026-07-15 14:00:20 +01:00
FourteenBrush
727b5043e5 Fix switch fallthrough in lb_emit_struct_ev 2026-07-15 14:13:53 +02:00
Isabella Basso
ca878a1de7 checker: keep polymorphic probes read-only
Overload candidate checks pass modify_type=false, but generic array
counts still specialized their candidate Type and scope entity. Parallel
probes could then observe and mutate the same partial specialization.

Resolve generic dimensions in local state and commit them only when
specializing. Keep array-like and map cache updates out of probe mode.
2026-07-15 08:51:43 -03:00
Isabella Basso
43923eb3cb compiler: fix constant aggregate rebuild
fixes: #7005
2026-07-15 05:29:38 -03:00
Urjasvi Suthar
38788c0348 Fix arm64 argument alignment abi for composite type of size <= 16 bytes 2026-07-14 21:33:39 +05:30
gingerBill
a6af2551c6 Merge pull request #7039 from Znarf64/fix_subtype_comparisons
Fix subtype comparisons
2026-07-14 13:54:35 +01:00
David Bader
865b97fa9e Make object and assembly file extensions user-changeable again 2026-07-14 14:02:09 +02:00
Franz
269db77d51 Fix subtype comparisons 2026-07-14 13:46:54 +02:00
Jeroen van Rijn
58efb2cc63 Merge pull request #7026 from MauriceElliott/fix/playdate-sp-fpu
fix(playdate-subtarget): Fixed issue where floats was being incorrectly compiled.
2026-07-14 12:13:59 +02:00
Urjasvi Suthar
b27f28d1ea Fix darwin arm64 argument passing abi.
Darwin arm64 expects caller to take responsibility of zero/sign extending any arguments < 32 bits.

Fixes #6809 and #6816
2026-07-14 10:26:52 +05:30
MauriceElliott
13763e5ed7 fixup! fix: reworked the playdate subtarget to fix issues with the requirement for single point precision floats, as well as an issue with function lowering when set to thumb mode only instrunctions. 2026-07-13 23:06:32 +01:00
MauriceElliott
11ef10bb5d fix: reworked the playdate subtarget to fix issues with the requirement for single point precision floats, as well as an issue with function lowering when set to thumb mode only instrunctions. 2026-07-13 23:02:50 +01:00
gingerBill
24dfc6459f Merge pull request #7015 from BlackGoku36/master
Fix arm64 ABI: '#simd' vectors and vector aggregates not passed in registers (fixes #7010)
2026-07-13 14:45:42 +01:00
Urjasvi Suthar
713772ff2a Fix i64 to i32 conversion for lb_sizeof(type) call in llvm_abi.cpp 2026-07-13 11:42:04 +05:30
Urjasvi Suthar
aef401fc9b Fix arm64 ABI: '#simd' vectors and vector aggregates not passed in registers (fixes #7010) 2026-07-12 21:29:57 +05:30
gingerBill
683d40db69 Merge pull request #7013 from rmn64k/reject-chained-defer
Reject chained deferred procedures.
2026-07-12 09:34:42 +01:00
Richard Nyberg
bb2e7e60ce Reject chained deferred procedures. 2026-07-12 07:49:46 +02:00
gingerBill
9b4adb0159 Merge branch 'master' of https://github.com/odin-lang/Odin 2026-07-12 00:08:00 +01:00
gingerBill
0694535d4e Correct arithmetic >> behaviour in LLVM IR 2026-07-12 00:07:51 +01:00
gingerBill
51bc27be01 Fix big_int_shr for arithmetic shift (i.e. negative numbers) 2026-07-12 00:04:35 +01:00
gingerBill
a60a77f57f Merge pull request #6997 from tf2spi/6981-increase-stack-size
Increase stack size for threads
2026-07-11 10:37:55 +01:00
callframe
cb7d7a5b7d Allow using absolute path's in foreign import's (#6999)
Document that `-collection` can be used for foreign imports.
Fix absolute path detection on Windows.
2026-07-10 20:45:59 +02:00
Abderrahim Indjaren
ac6688c166 add: disallow proc group assignment to blank identifier 2026-07-10 12:19:39 +01:00
gingerBill
819fdc7a80 Merge pull request #6990 from jagnat/objc-superclass-lookup-fix
Fix for @(objc_implement) being broken in 2026-07
2026-07-10 10:56:01 +01:00
gingerBill
96ca9f3b48 Merge pull request #6984 from A1029384756/master
[cli] remove `default` help option for stack protector
2026-07-10 08:56:07 +01:00
misomosi
b9e0916189 Use better triple for ARM32 freestanding 2026-07-09 19:39:59 -04:00
misomosi
65eda4720d Increase stack size to stop stack ovflow 2026-07-09 19:38:49 -04:00
Jagi Natarajan
8727db41f7 Fix regression, fetch obj-c superclass name instead of class name 2026-07-09 14:24:40 -04:00
RoBaertschi
c44740f570 Fix #6979 2026-07-09 14:14:05 +02:00
gingerBill
40698f774f Improve error message for disallowing --- as a default parameter 2026-07-09 11:52:03 +01:00
A1029384756
39464455bc [cli] remove default help option for stack protector 2026-07-09 00:45:35 -04:00
Jeroen van Rijn
0c7fc0b416 Fix #6982 2026-07-09 00:32:41 +02:00
gingerBill
46a2960d13 Merge pull request #6968 from ssenthilnathan3/fix/ternary-comment-parsing
Fix parser failing on comments inside ternary expressions
2026-07-08 10:56:05 +01:00
misomosi
723b8f563d Ensure identical types have same hash 2026-07-07 12:44:16 -04:00
Senthilnathan
a880c1abfa Fix parser failing on comments inside if/when ternary 2026-07-07 14:30:59 +05:30
Senthilnathan
d7fc7c653c Fix parser failing on comments inside ternary expressions 2026-07-07 14:18:42 +05:30
gingerBill
c0792bc1dd Merge pull request #6948 from tf2spi/6866-poly-const-float-convert
Convert poly const int to f64 when needed
2026-07-04 16:12:33 +01:00
gingerBill
9050e6b8cd Merge pull request #6950 from tf2spi/6840-check-any-int-addressing
Disallow types in #any_int params
2026-07-04 16:12:16 +01:00
gingerBill
ea72e772fe Merge pull request #6949 from tf2spi/6864-canonicalize-f64-to-string
Use specific format to make f64 strings canonical
2026-07-04 16:11:57 +01:00
misomosi
c2dfa289f9 Use specific format to make f64 strings canonical 2026-07-04 10:47:06 -04:00
Jeroen van Rijn
94be05ead1 Merge pull request #6918 from Kelimion/deprecate-llvm-14
Remove LLVM 14 support
2026-07-03 21:35:47 +02:00
Jeroen van Rijn
dc0f001b35 Merge pull request #6933 from odin-lang/bill/box3d
`vendor:box3d`
2026-07-03 21:35:30 +02:00
gingerBill
d595bf1917 Merge pull request #6924 from tf2spi/6815-patch-simd-min-max
Fix misuse of lb_emit_(min|max) in simd_(min|max)
2026-07-03 16:34:08 +01:00
misomosi
1ab2253ff8 Convert poly const int to f64 when needed 2026-07-03 11:05:31 -04:00
misomosi
5b24b47e9c Disallow types in #any_int params 2026-07-03 10:04:41 -04:00
gingerBill
385230d8d4 Merge pull request #6935 from tf2spi/add-proc-name-canonicalization-cases
Add diverging, optional_ok to proc canon name
2026-07-03 13:07:43 +01:00
gingerBill
55a1876d5b Merge pull request #6934 from tf2spi/6675-patch-load-or-else-diverging
Make diverging or_else inherit load lhs type
2026-07-03 13:07:19 +01:00
gingerBill
328f511576 Merge pull request #6939 from tf2spi/6832-no-code-regen
Avoid code regeneration for fns in unroll
2026-07-03 13:06:56 +01:00