gingerBill
39e5d78aba
Improve error handling on set in set comparisons to suggest using <= instead
2026-08-03 15:01:51 +01:00
gingerBill
9914a57fc7
Add intrinsics.soa_copy_from_slice and use it within _append_soa_elems replacing the old handwritten unrolled approach
2026-08-03 14:41:04 +01:00
Yawning Angel
711d385794
src: Add SpacemiT X-100 and A-100 microarchitectures
...
Generated featuregen against the vendor supplied (Bianbu) LLVM 21.1.8
package.
2026-08-02 22:09:22 +09:00
Yawning Angel
cd08f535c8
src: Use llvm.readsteadycounter on Linux RISC-V
...
Why `rdcycle` is kernel only while `rdtime` is not is a mystery to me.
2026-08-02 22:09:22 +09:00
gingerBill
ed2cb5723f
Merge pull request #7132 from Chaosus/fix_vet_tag_error_hint
...
Fix error hint for vet tag
2026-07-31 10:25:01 +02:00
jerksto
ff949ac6fd
Don't assert on -define: values with an exponent
2026-07-30 10:59:10 -04:00
David Bader
edc522a05c
add assert to make sure old and new double_dash_pos are the same
2026-07-30 13:38:52 +02:00
David Bader
7130f042dc
define out unused run_args on Windows
2026-07-30 13:38:51 +02:00
David Bader
16ee03828b
handle spaces in args for 'odin run . -- <args>' on Windows
2026-07-30 13:38:51 +02:00
David Bader
894d44346e
run_args_start_idx is identical to double_dash_pos, no need to check again
2026-07-30 13:38:50 +02:00
aelobdog
d8eb6e0481
fix: expand_values panic on type expressions
2026-07-30 00:26:12 +05:30
aelobdog
f465f3dc6f
fix: hang for poly procs with default proc literal params
2026-07-28 22:48:38 +05:30
Chaosus
33247c8ca9
Bring back "extra" error line
2026-07-26 19:49:57 +03:00
Chaosus
853134048e
Fix error hint for vet tag
2026-07-25 17:35:32 +03:00
aelobdog
39cbaf0494
fix: reject the use of labels as expressions
2026-07-25 19:28:56 +05:30
corley
b64407915d
fixes spurious no_alias errors during polymorphic overload resolution
2026-07-24 01:13:03 +03:00
gingerBill
786cc956e3
Merge pull request #7090 from catermujo/push-mpppyyryqunl
...
types: allow fixed-capacity arrays in constant unions
2026-07-21 11:34:38 +02:00
Isabella Basso
0843def5f5
types: allow fixed-capacity arrays in constant unions
...
Fixes : #7089
2026-07-19 18:34:48 -03:00
corley
f427e66603
fixes compile time equality comparison for utf16 strings
2026-07-17 23:34:08 +03:00
gingerBill
f34870f232
Merge pull request #7064 from tf2spi/7027-add-constant-typeid-comparison
...
Add typeid constant case to check_comparison
2026-07-16 11:18:39 +01:00
gingerBill
18413699d1
Merge pull request #7060 from Znarf64/fix_deadlock_in_backend
...
Fix a deadlock in the backend where the holder of the `func_raw_types_mutex` and `types_mutex` were waiting for each other
2026-07-16 11:16:45 +01:00
gingerBill
3f2a66044b
Merge pull request #7056 from korvahkh/fix-untyped-coercion
...
Stricter type coercions in `convert_to_typed`
2026-07-16 11:15:41 +01:00
Ruan
03aa867782
Compare mmap result to MAP_FAILED rather than nullptr
2026-07-16 11:44:58 +02:00
Jeroen van Rijn
0051152f76
Merge pull request #7042 from catermujo/push-nyzmuzxuzpox
...
compiler: preserve recursive struct aliases
2026-07-16 10:21:31 +02:00
misomosi
dac6e7dbad
Add typeid constant case to check_comparison
2026-07-15 21:54:34 -04:00
Franz
cd577b2eef
Shrink lock region of func_raw_types_mutex to avoid deadlock.
2026-07-15 23:14:24 +02:00
korvahkh
f36ed5e668
Stricter type coercions in convert_to_typed
...
There were issues similar to #6923 with
arrays, matrices, & SIMD vectors.
This PR addresses those.
2026-07-15 10:26:15 -05: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
Isabella Basso
6299379911
compiler: preserve recursive struct aliases
...
fixes : #7037
2026-07-14 09:42:06 -03: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