gingerBill
63f880ae80
Fix bug caused due to incorrect type checking looking for context not defined in a context
2024-12-01 11:54:51 +11:00
Laytan Laats
8e6cbe9a29
fix the typeid type kind of a typeid being set to Typeid_Invalid
2024-12-01 11:54:51 +11:00
Laytan Laats
6e534c0e24
check packed load and set alignment on all loads, not just lb_emit_load
2024-12-01 11:54:50 +11:00
Laytan Laats
64fdf6e18f
quote the dsymutil argument
...
Fixes #4417
2024-12-01 11:54:50 +11:00
Misomosi
f1667422e6
Fix #4390 by assigning invalid entity type
2024-12-01 11:54:50 +11:00
Misomosi
cb5e064526
Fixes #4395 by not assuming simd returns val
2024-12-01 11:54:50 +11:00
Lucas Perlind
28d01ce7b5
cached.cpp: Improve internal cached robustness
...
Do not memory map files; Windows cannot write to a file that is memory
mapped.
Write cache after llvm building. This ensures the cache won't have a
false positive if llvm fails.
2024-12-01 11:54:50 +11:00
laytan
182a916092
fix erronous updating alignment of external global
2024-12-01 11:54:50 +11:00
Laytan Laats
7989d512a0
add macos 15.0.1 to odin report and core/sys/info
2024-10-14 16:19:03 +02:00
gingerBill
417e9bb37f
Fix #4373
2024-10-13 22:26:04 +01:00
gingerBill
b839d06ac8
Merge branch 'master' of https://github.com/odin-lang/Odin
2024-10-08 11:58:28 +01:00
gingerBill
131e8d4187
Disable exe path test
2024-10-08 11:57:54 +01:00
gingerBill
9fe8095a84
Merge pull request #4338 from laytan/fix-ternary-swallow-error
...
fix not erroring on invalid ternary
2024-10-04 12:25:54 +01:00
gingerBill
c305c9dd04
[ABI FIX] Fix 128-bit ABI issues
2024-10-04 11:16:33 +01:00
Laytan Laats
5d4fd09ff0
fix quaternion64 arith
...
Fixes #4282
2024-10-02 23:28:09 +02:00
gingerBill
53bb6c85f7
a ordered to an ordered
2024-10-02 15:48:58 +01:00
gingerBill
21d0b073b1
Sort flags on odin build -help - #4329
2024-10-02 15:43:13 +01:00
gingerBill
3498d4341d
Fix #4330
2024-10-02 15:07:22 +01:00
gingerBill
aeb568f79a
Ignore package runtime with using -vet-unused-packages
2024-10-02 15:04:50 +01:00
Laytan Laats
3ff887c6b6
fix not erroring on invalid ternary
...
For example: `a: f32 = true ? 1 : len` would get to the back-end without
errors.
Fixes #1690
2024-10-02 15:55:46 +02:00
olimpiu
5d57fe77be
Fixed confusing (and incorrect) warning
...
Verbose errors *is* the new default
2024-09-30 20:46:03 -04:00
gingerBill
91dece1656
Change struct alignment rules for #max_field_align
2024-09-30 15:35:47 +01:00
gingerBill
a7d7c92a53
#min_field_align & #max_field_align; deprecate #field_align in favour of #min_field_align
2024-09-30 13:05:28 +01:00
gingerBill
4b6410e225
ABI BREAKING for SysV: Change how multiple return values are handled to be separate like all other ABIs
2024-09-30 12:32:55 +01:00
gingerBill
b173fa1b9a
Fix LLVM 18 ABI for 128-bit integers (because LLVM broke things)
2024-09-30 11:45:24 +01:00
gingerBill
225ffdec36
Fix union comparison bug
2024-09-30 11:10:16 +01:00
Beau McCartney
e3eea1b9fa
print proc types in same order as procs
2024-09-29 23:55:55 -06:00
Beau McCartney
fe8325f0ad
fix deferred procedure errors
2024-09-29 23:34:09 -06:00
Laytan Laats
642ecc363b
fix errors not being printed after parse warnings
...
Fixes #4299
2024-09-29 11:04:37 +02:00
Karl Zylinski
007730bfbc
Fix for crash when emitting a comparison between a constant array and a non-constant value.
2024-09-25 23:42:35 +02:00
gingerBill
987faa3f18
Merge pull request #4280 from Feoramund/fix-4278
...
Forbid parsing more fields if no separator was found
2024-09-25 16:12:33 +01:00
Feoramund
84700e09c9
Forbid parsing more fields if no separator was found
...
Fixes #4278
2024-09-20 19:02:00 -04:00
gingerBill
b116e8ff55
Fix 128-bit integer support for wasm targets
2024-09-20 01:29:39 +01:00
gingerBill
a7fe647c8c
Merge pull request #4269 from Feoramund/fix-4256
...
Specify integer-like only for some `atomic_*` intrinsics
2024-09-19 12:54:11 +01:00
gingerBill
6bbeb0a243
Merge pull request #4203 from karl-zylinski/file-tags-without-comments
...
Make tags use #+ syntax instead of //+
2024-09-19 12:36:43 +01:00
Feoramund
acbf5c8d97
Forbid labelled or-branch expressions within defer
2024-09-19 05:59:37 -04:00
Feoramund
9456c36684
Specify integer-like only for some atomic_* intrinsics
...
Fixes #4256
2024-09-18 17:18:48 -04:00
Karl Zylinski
29fedc1808
Changed some recently added //+ usages to #+ and also fixed some //+ usages in some code generators.
2024-09-17 19:39:48 +02:00
Karl Zylinski
093ade0504
Merge branch 'master' into file-tags-without-comments
2024-09-17 19:36:17 +02:00
Laytan Laats
6ef779cd5c
add new macos releases to 'odin report' and sys/info
2024-09-17 17:47:26 +02:00
gingerBill
09588836e7
Add -vet-unused-procedures
2024-09-17 11:33:42 +01:00
gingerBill
19c1ed154c
Add -vet-packages:<comma-separated-string-array>
2024-09-17 11:01:26 +01:00
gingerBill
abf6ea7732
Fix minor bug with addressability
2024-09-17 10:24:19 +01:00
gingerBill
a16d3b6c9a
Merge pull request #4242 from laytan/caller-expression
...
add '#caller_expression'
2024-09-16 17:36:46 +01:00
gingerBill
017d6bdf73
Merge pull request #4232 from Feoramund/test-sync
...
Add test suites for `core:sync` and `core:sync/chan`
2024-09-16 17:27:20 +01:00
Laytan Laats
d03d9e49a6
fix #4243
2024-09-15 00:03:20 +02:00
Laytan Laats
603efa860a
add '#caller_expression'
2024-09-14 22:13:37 +02:00
Laytan Laats
4f3f256375
improve bit field debug info
2024-09-14 15:52:37 +02:00
Karl Zylinski
c24e18bf10
Fix incorrect syntax error in parse_file
2024-09-14 14:36:33 +02:00
Karl Zylinski
8b84b9a4a2
Docs are generated as expected again.
2024-09-14 14:32:46 +02:00