Commit Graph

6354 Commits

Author SHA1 Message Date
gingerBill
3a5439f60e Compiler: Improve error propagation when all of the overloads have the same return values 2026-06-16 15:26:01 +01:00
gingerBill
0dec86b933 Improve lb_copy_bits 2026-06-15 17:46:54 +01:00
gingerBill
c91d3f120c Fix shifting buf in lb_copy_bits 2026-06-15 17:13:33 +01:00
gingerBill
ee5d5d6882 Remove the now defunct __write_bits and __read_bits 2026-06-15 16:57:27 +01:00
gingerBill
6feb33a79b Heavily improve reading and writing to bit fields 2026-06-15 16:53:15 +01:00
gingerBill
693fc1ec18 Allow for struct #raw_union #packed 2026-06-15 14:42:38 +01:00
gingerBill
829dd30b0b doc_writer: String intern constant values expressions 2026-06-15 11:46:26 +01:00
gingerBill
28d17f0001 doc writer: Use string interning and minimize the size of the compound literal generation when it is HUGE 2026-06-15 11:44:12 +01:00
gingerBill
2cf2a1341b Minimize error propagation of map[key] indexing 2026-06-14 18:55:26 +01:00
gingerBill
4b482366c1 Support constant compound literals 2026-06-14 15:51:27 +01:00
Krzysztof Furman
15deb7a118 Commented the workaround with links to issues, and put it behind a build flag. 2026-06-13 09:53:43 +01:00
Krzysztof Furman
b05d459a13 Make the type hash 63-bit to not crash OMG JIT in WebKit under WASM. 2026-06-12 21:33:56 +01:00
Jeroen van Rijn
47cf0d3f42 Merge pull request #6790 from A1029384756/linux_pie
[linux] change default settings to enable pie and full relro
2026-06-12 11:21:51 +02:00
A1029384756
286674a862 [no-plt] restricted to llvm 19+ 2026-06-08 10:59:32 -04:00
A1029384756
da742fc526 [no-plt] enable no-plt behavior on linux arm64 and amd64 targets 2026-06-08 10:58:05 -04:00
A1029384756
43b057dfeb [linux] change default settings to enable pie and full relro 2026-06-06 21:23:26 -04:00
lualvsil
1b07372547 AArch64 assembly support for foreign import 2026-06-05 23:23:50 -03:00
gingerBill
dd4044dd1c Merge branch 'master' of https://github.com/odin-lang/Odin 2026-06-05 14:13:18 +01:00
gingerBill
f14071bd14 Fix transmute corrupting a compile time constant 2026-06-05 14:13:08 +01:00
gingerBill
1c9fa5d0b7 Merge pull request #6731 from odin-lang/bill/expand-values-operator
Support `**` as `expand_values` operator: `**x` == `expand_values(x)`
2026-06-05 11:42:08 +01:00
gingerBill
8d1d126e16 Rearrange context and value_type values of lb_const_value 2026-06-05 10:19:55 +01:00
gingerBill
808d19123b Merge branch 'master' of https://github.com/odin-lang/Odin 2026-06-05 10:16:05 +01:00
gingerBill
99992e092f Fix constant array spreading for unions of constants 2026-06-05 10:15:51 +01:00
A1029384756
f735e794a6 [checker] disallow * and / for bit sets 2026-06-04 16:12:35 -04:00
mlgudi
7ba07860bb Rearrange lb_emit_comp is_type_array_like branch to avoid unnecessary transmutes for bit_fields taking the non-inline path 2026-06-04 03:22:06 +01:00
mlgudi
2cc0f8f6dc Fix compiler assertion failure caused by comparison of array-backed bit_fields 2026-06-04 02:03:00 +01:00
gingerBill
16eac6187d Re-add @(link_section<string>) for procedures 2026-06-02 13:38:39 +01:00
gingerBill
7a5a73efae Generalize is_foreign_name_valid but add TODO to see how it should work. 2026-06-02 13:21:57 +01:00
gingerBill
a479eb7775 Support @(link_section=<string>) for procedures 2026-06-02 13:09:40 +01:00
gingerBill
b914dc1f32 Change compound literal grammar to match the formal grammar 2026-06-02 11:10:58 +01:00
gingerBill
eaa32a82e8 Fix global constant union initialization bug. 2026-05-29 09:38:56 +01:00
gingerBill
195467c53e Merge pull request #6740 from jakubtomsu/any-int-fix
Properly check `#any_int` param operands
2026-05-28 08:29:42 +01:00
gingerBill
e506b78727 Merge pull request #6741 from jakubtomsu/error-pos-style
Fix error pos style environment variable overwriting commandline argument
2026-05-28 08:28:56 +01:00
jakubtomsu
3a413c3ef1 let using bit field populate scope 2026-05-27 20:29:56 +02:00
jakubtomsu
dca7710471 fix error pos style env var overwriting arg 2026-05-27 20:02:34 +02:00
jakubtomsu
46bb13d0bd check operand type in any_int params 2026-05-27 19:10:34 +02:00
gingerBill
edbbe4be92 Unify check_type_specialization_to logic 2026-05-27 15:52:32 +01:00
gingerBill
fb8a9d0839 Support ** as expand_values operator: **x == expand_values(x) 2026-05-25 10:28:15 +01:00
Be Dangerous
c30bb3afe7 narrow race condition fix during polymorphic specialization 2026-05-22 12:37:42 -05:00
gingerBill
63a59210b0 Merge pull request #6711 from krnowak/krnowak/generic-procs
Be more thorough in detecting generic procedure types
2026-05-21 12:21:30 +01:00
kalsprite
98d6e0c26a ARM chunking logic, improved docs 2026-05-20 17:55:29 -07:00
kalsprite
ae4b94fbd0 fix overloaded call 2026-05-20 16:57:05 -07:00
Krzesimir Nowak
b924da10a0 Be more thorough in detecting generic procedure types 2026-05-20 22:11:25 +02:00
gingerBill
a91725f305 Add simd.interleave + simd.deinterleave 2026-05-19 21:32:09 +01:00
gingerBill
c66de5ee3c Improve vector to integer transmute LLVM IR 2026-05-19 18:32:05 +01:00
gingerBill
f231ef0596 Support simd.byte_swap 2026-05-19 15:44:31 +01:00
gingerBill
a3240373ac Allow simd.(reduce_any|reduce_all) to work with #simd integers 2026-05-19 15:33:45 +01:00
gingerBill
2094cd4768 Add suggestion for ternary if with simd 2026-05-19 15:27:34 +01:00
gingerBill
cfef365c9f Add another suggestion of #simd shifting 2026-05-19 14:53:50 +01:00
gingerBill
046771c94a Merge branch 'master' of https://github.com/odin-lang/Odin 2026-05-19 14:52:56 +01:00