Commit Graph

6282 Commits

Author SHA1 Message Date
jason
bb9cddabac linux.Stat -> linux.Statx
This provides access to os.Stat.creation_time for Linux.
Added a cast to string_interner.cpp for 32-bit compiles.
2026-05-12 18:24:08 -04:00
gingerBill
d21fea404b Merge pull request #6631 from heavyrain266/deprecate-haiku
removed Haiku from supported targets
2026-05-06 15:52:36 +01:00
Krzesimir Nowak
34b198019f Better error reporting for unary decrement/increment operators
There was a missing routing for those operators in parse_stmt
function.
2026-05-05 15:16:49 +02:00
gingerBill
7788ca0242 Fix minor indentation problem 2026-05-05 12:16:42 +01:00
gingerBill
b083b980f7 Fix variable based procedure groups 2026-05-05 12:09:27 +01:00
gingerBill
ea5175d865 Support s: [2]u16 = "hi" 2026-05-02 12:11:39 +01:00
gingerBill
9869c492f5 Fix #6642 2026-05-02 11:26:49 +01:00
Ionut Ciuperca
b043ff2c87 Fix compiler warning on linux.
The resulting compiler binary would also crash with a core dump when
trying to compile odin code with it.
2026-04-30 06:48:37 +01:00
gingerBill
2358cffb85 Merge pull request #6630 from Znarf64/fix_typeid_arrays
Fix type info not being generated for types only used in []typeid literals
2026-04-28 21:09:16 +01:00
Ignacy Koper
d1915fa6f5 removed Haiku from compiler targets, and tests
Signed-off-by: Ignacy Koper <ignacy423@gmail.com>
2026-04-28 19:27:23 +02:00
Franz Hoeltermann
0199c96f47 Fix type info not being generated for types only used in []typeid literals 2026-04-28 17:04:52 +02:00
gingerBill
8da640da58 Merge pull request #6629 from odin-lang/bill/va_arg
`intrinsics.c_va_*`
2026-04-28 15:32:00 +01:00
gingerBill
162eab5052 Increase matrix maximum element count from 16 to 64, allowing for matrix[8, 8]T 2026-04-28 15:19:06 +01:00
gingerBill
7b97530443 Add intrinsics.c_var_* 2026-04-28 15:00:53 +01:00
gingerBill
bb291cfcd0 Use a for loop when doing array casts which are too long. 2026-04-28 13:45:57 +01:00
gingerBill
1f50cda5d6 Merge pull request #6623 from heavyrain266/deprecate-essence
removed Essence from supported targets
2026-04-28 11:11:09 +01:00
gingerBill
31184535a0 Merge pull request #6605 from odin-lang/bill/array-cast
Native Array Casting Semantics
2026-04-28 11:07:31 +01:00
gingerBill
e06f3598f4 Merge pull request #6624 from 3rd-Party-Guy/issue/6621-recursive-type-def-assertion-fail
gh 6621
2026-04-27 11:05:31 +01:00
Ignacy Koper
3e64a72bad removed Essence from supported targets
Signed-off-by: Ignacy Koper <ignacy423@gmail.com>
2026-04-27 11:10:48 +02:00
Nikolay Hadzhiev
f91fd92842 gh 6621 2026-04-27 10:28:35 +02:00
gingerBill
a40f275b0c Check to see if a normal type is being used in a typeid context 2026-04-27 09:23:04 +01:00
gingerBill
8ea1cbc230 Mock out vectorization of array binary arithmetic (probably not better in practice some of the time) 2026-04-24 18:19:41 +01:00
gingerBill
5c2efb78ac SIMD-ify [N]float -> [N]complex 2026-04-23 18:35:00 +01:00
gingerBill
a44b8b0af0 Support ([N]T)([N]U{...}) 2026-04-23 10:42:53 +01:00
gingerBill
01734dfa9b Merge pull request #6599 from 3rd-Party-Guy/issue/6594-self-ref-global-init
Fixes #6594
2026-04-22 13:44:08 +01:00
gingerBill
021c224f5c Fix alignment 2026-04-22 13:38:47 +01:00
FourteenBrush
44938b6b64 Make @(rodata) on constants yield 'not supported' message 2026-04-22 14:33:21 +02:00
gingerBill
46ed5500b1 Fix lb_convert_struct_index for struct #raw_union 2026-04-22 13:18:26 +01:00
Nikolay Hadzhiev
48e83ad003 gh 6594
prevent compiler crash from self-referential global initialisation
2026-04-22 13:14:08 +02:00
gingerBill
608709693b Fix #6590 2026-04-22 11:32:58 +01:00
gingerBill
ef275c5c0e Support []int{multiple_returns(), 123} 2026-04-21 17:45:36 +01:00
gingerBill
b1e8ec5e64 Allow for Some_Struct{multiple_return_value(), 123} 2026-04-21 17:17:59 +01:00
gingerBill
0a080751e0 Merge branch 'master' of https://github.com/odin-lang/Odin 2026-04-21 16:36:09 +01:00
gingerBill
92c17b85e1 Allow assigning subtypes to unions 2026-04-21 16:35:57 +01:00
Franz
fa3a9b6f04 Prevent coredump when child process gets killed by signal.
Generating a coredump here is not useful, but is relatively
slow and generates a useless ~20M file every time.
The child process still creates a coredump.
2026-04-17 12:49:29 +02:00
Franz
87c40b6465 Fix array counts for floats that are exactly representable as ints eg. [1.1e4]int 2026-04-16 22:57:20 +02:00
gingerBill
32d45bbd27 Merge pull request #6553 from jakubtomsu/minimal-sroa
`-o:minimal` SROA and simplification passes
2026-04-15 10:25:21 +01:00
gingerBill
07cd20dd33 Merge pull request #6521 from A1029384756/master
[checker] fix break/continue being allowed in a nested unrolled range loop
2026-04-11 21:35:12 +01:00
jakubtomsu
d5baafb16c bring back simplifycfg 2026-04-11 12:51:22 +02:00
gingerBill
1d65bd48f6 Merge pull request #6519 from lualvsil/android-aligned-alloc
Android: fix aligned_alloc not defined
2026-04-11 11:47:04 +01:00
gingerBill
736184b39e Merge pull request #6539 from k-nrd/fix/field-first-writes-into-dynamic-soa
fix #6344: field-first index writes on #soa[dynamic]T and #soa[]T
2026-04-11 11:45:19 +01:00
jakubtomsu
eb01ff554b attributes, use instsimplify instead of instcombine 2026-04-11 12:42:34 +02:00
jakubtomsu
65ca5f02cd fix typo 2026-04-11 11:49:48 +02:00
jakubtomsu
fd34e4b2ed Use sroa<modify-cfg> explicitly 2026-04-11 11:48:09 +02:00
jakubtomsu
7882123158 WINDOWS_LEAN_AND_MEAN 2026-04-11 11:14:41 +02:00
jakubtomsu
e97f73e4aa lightweight simplification and optimization passes in -o:minimal 2026-04-11 11:14:28 +02:00
jakubtomsu
15f4301afb Merge branch 'odin-lang:master' into target-feature-fix 2026-04-10 13:28:46 +02:00
jakubtomsu
10c7b134e1 de-duplicate and canonicalize target_features_set entries 2026-04-10 13:27:42 +02:00
jakubtomsu
00874e39ad fix 2026-04-10 12:53:28 +02:00
jakubtomsu
bf4aa9b556 stronger +/- checks in check_target_feature_is_enabled 2026-04-10 12:47:12 +02:00