Commit Graph

63 Commits

Author SHA1 Message Date
kalsprite
4ecaa7dfd9 normalize bool cmp 2026-08-24 18:34:59 -07:00
kalsprite
301baf0b88 remove faulty tests 2026-08-24 17:46:55 -07:00
gingerBill
cebceb9bb2 Merge branch 'master' into asm_rip_width 2026-08-24 09:31:54 +01:00
gingerBill
48daf8e511 Merge pull request #7431 from kalsprite/asm_named_register_slot
Reject asm operands in slots only a named hardware register can fill
2026-08-24 09:30:20 +01:00
kalsprite
40fd892cf5 Reject a named asm template used as a value instead of aborting the compiler 2026-08-24 00:27:26 -07:00
kalsprite
b6c64c28b5 Diagnose in an asm template instead of aborting with SIGILL 2026-08-23 22:36:57 -07:00
kalsprite
deb45f3e6a asm named slots 2026-08-23 21:34:31 -07:00
gingerBill
fff69510b9 Merge pull request #7412 from mocompute/fix-7008
fix incorrect offset_of and size_of for unions with cyclic pointers
2026-08-23 10:52:14 +01:00
Jeroen van Rijn
2370de888c Merge branch 'master' into type_call_null_arg 2026-08-22 03:12:01 +02:00
kalsprite
ef1c5fe675 Fix compiler segfault on a bare in a type position call 2026-08-21 17:54:13 -07:00
kalsprite
f8bdfa0857 Fix segfault comparing two foreign declarations of the same symbol 2026-08-21 17:31:42 -07:00
mo
7bb0bc353f add regression test for incorrect offset_of 2026-08-22 11:12:11 +12:00
Michael Tesař
6fadf91c84 add windows test 2026-08-21 19:20:11 +02:00
kalsprite
2285f4e061 sysv abi 2026-08-11 16:53:57 -07:00
kalsprite
1a631b2f3f Fix constant string16 carrying UTF-8, and inverted slice indices reaching substring (#7268)
* str16 fix

* remove stale call
2026-08-09 21:22:13 +02:00
Michael Tesař
60061fe4ba Register issue 7012 regression test 2026-08-09 00:15:46 +02:00
Isabella Basso
e94d3d4871 llvm: handle #soa fixed compound literals for vars 2026-08-06 16:43:52 -03:00
Brody
91e0e6ce47 fix: record resolved entity for proc-typed default values 2026-08-04 19:12:08 +10:00
Brody
df6719cb89 fix: remove broken special case for poly proc as default value 2026-08-03 18:13:12 +10: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
Isabella Basso
6299379911 compiler: preserve recursive struct aliases
fixes: #7037
2026-07-14 09:42:06 -03:00
RoBaertschi
c44740f570 Fix #6979 2026-07-09 14:14:05 +02:00
Bärtschi Robin
640a0f2ef4 add test for #6874 2026-06-24 08:35:43 +02:00
Harold Brenes
7da7bc8456 Add test case for issue #6484 2026-03-26 20:10:24 -04:00
Mortimer Snerd
6aceb7639f Clean up the name of the test file for this PR 2026-03-25 19:55:38 -04:00
Mortimer Snerd
2363f85944 Fix for corner case in the scratch allocator.
The scratch allocator could erroneously return a slice
overlapping previously allocated memory for allocation
requests that were smaller than the arena size, but larger
than the amount of free space left in the arena.

- fix the check in mem::scratch_alloc_bytes_non_zeroed
  that wasn't routing the request to the backup allocator.
- added concrete reproduction test under tests/issues.
2026-03-25 19:33:17 -04:00
Harold Brenes
35b4c42f87 Use odin test for test_pr_6470.odin on windows 2026-03-24 16:07:59 -04:00
Harold Brenes
b66e65e7f8 Rename temp test name given PR number 2026-03-24 15:40:29 -04:00
Harold Brenes
7a017d2ecd Add test case for implicit cast pointer to offset zero subtype field proc param 2026-03-24 15:37:04 -04:00
bymehul
763c8d3a42 Fix generic cycle deadlock in struct layout 2026-03-11 03:04:26 +05:30
Louis Novy
7732a78c08 harden run.bat and add missing test_issue_2395 2026-03-01 21:33:14 -08:00
Louis Novy
e3d6fe72f8 fix broken bit_set parapoly specialization #6240 2026-03-01 20:58:43 -08:00
Jeroen van Rijn
1c529d8cb2 Fix #6165 2026-01-24 14:06:31 +01:00
CJ
55f3a45322 Update run.bat and run.sh 2026-01-24 01:30:15 +09:00
ske
e4bf5476c3 Fix literal endianness (fix #6068) 2025-12-30 22:08:40 -03:00
Jeroen van Rijn
c04c6dfcc6 Add -ignore-unused-defineables to tests/issues. 2025-12-04 15:52:48 +01:00
miere43
29019d7138 Fix duplicate code emission in type assertions. 2025-12-03 21:27:38 +03:00
Feoramund
7022ad8378 Add test for issue #3435 2025-06-19 19:54:12 -04:00
Feoramund
d7e98ba82a Add test for issue #2694 2025-06-15 12:34:15 -04:00
Feoramund
36b41ce163 Let compound literal array be broadcast to a struct field of arrays
Fixes #4364

Patch courtesy of @cribalik
2025-06-05 07:48:10 -04:00
Jeroen van Rijn
82dfb43663 Fix #5265 2025-06-03 11:18:11 +02:00
Laytan Laats
f94fc992d7 fix swizzle in for in statement
Fixes #1730
2025-06-02 20:30:48 +02:00
Laytan Laats
478c923e2c fix another type alias issue with mini cycle 2025-05-26 19:48:28 +02:00
Laytan Laats
d2f8cb1306 adds the cases of #5043 and #5097 to the CI 2025-04-30 20:13:21 +02:00
Sebastian Pahnke
8a91e0bb19 Add regression tests reproducing the issue 2024-12-28 10:29:43 +01:00
Jeroen van Rijn
d2202416d2 Add test for #4210 2024-09-07 13:43:19 +02:00
Laytan Laats
0a528777e8 utilize odin test -all-packages instead of (make/bat) scripts for running tests 2024-06-07 15:50:00 +02:00
Jeroen van Rijn
60d0c03134 Strip old test runner back out of internal, issues and vendor 2024-06-02 21:15:25 +02:00
Feoramund
890fe07c6e Disable FANCY_OUTPUT in Odin test scripts
This should tidy up the CI output logs a bit.
2024-06-02 14:54:32 -04:00