aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | fixes compiler crash on syntax error (issue 4738)jason2025-01-211-1/+3
| |
* | fix inverted error messagesDavid Rubin2025-01-181-4/+4
| |
* | Merge pull request #4703 from flysand7/4685-range-stack-overflowgingerBill2025-01-171-3/+9
|\ \ | | | | | | Do not warn about stack overflow in range loops 'by reference'
| * | Do not warn about stack overflow in range loops 'by reference'flysand72025-01-161-3/+9
| | |
* | | Error if -no-thread-local is used in presence of -no-crt on Unixflysand72025-01-172-18/+10
| | |
* | | Added compile-time checks for thread locals with -no-crtflysand72025-01-173-2/+33
|/ / | | | | | | | | | | | | | | Now using any thread-local variables with -no-crt enabled will cause a compiler error, unless -no-thread-local is given. Also fixed a minor typo in a comment.
* | compiler: fix align error checkLaytan Laats2025-01-151-1/+2
| |
* | Fixes crash when unused defines are used in conjunction with `-ignore-warnings`.Harold Brenes2025-01-151-1/+4
| |
* | `#unroll(N) for`gingerBill2025-01-104-73/+292
| |
* | '#no_nil' I am actually disappointed in myselfLaytan Laats2025-01-081-6/+5
| |
* | `#no_nil` third time's the charmLaytan Laats2025-01-081-1/+1
| |
* | actually fix #no_nil debug infoLaytan Laats2025-01-081-1/+6
| | | | | | | | Fixes #4664
* | fix #no_nil in debug infodev-2025-01Laytan Laats2025-01-081-5/+4
| | | | | | | | Fixes #4664
* | Merge pull request #4601 from Barinzaya/simd_vector_broadcastinggingerBill2025-01-061-0/+20
|\ \ | | | | | | Implicit broadcasting for SIMD arrays
| * | Added some implicit broadcasting for #simd arrays.Barinzaya2024-12-191-0/+20
| | | | | | | | | | | | | | | | | | This covers broadcasting from untyped numbers when assigning, as well as when performing binary operations. SIMD intrinsics have not been adjusted
* | | Allow `#+` tags on single filesgingerBill2025-01-051-6/+4
| | |
* | | Make `-no-dynamic-literals` the default nowgingerBill2025-01-057-30/+43
| | |
* | | Add `#+feature dynamic-literals`gingerBill2025-01-054-2/+88
| | |
* | | Merge pull request #4611 from tf2spi/4491-max-field-align-packgingerBill2025-01-013-4/+35
|\ \ \ | | | | | | | | Add packing + aligned access w/ field_align
| * | | Pack struct when needed, use field_align metadatamisomosi2024-12-223-4/+35
| |/ /
* | | Merge pull request #4616 from flga/mastergingerBill2025-01-011-2/+2
|\ \ \ | | | | | | | | make -export-dependencies emit valid json
| * | | make -export-dependencies:json emit valid jsonfleandro2024-12-231-2/+2
| |/ /
* | | Merge pull request #4608 from zen3ger/assignment-of-non-specialized-parapolygingerBill2025-01-011-4/+6
|\ \ \ | | | | | | | | Fix crash on assignment of parapoly proc to variable
| * | | Fix crash on assignment of parapoly proc to variableRoland Kovacs2024-12-221-4/+6
| |/ /
* | | Merge pull request #4607 from zen3ger/parapoly-proc-fixesgingerBill2025-01-012-1/+9
|\ \ \ | | | | | | | | Fix crash when proc return type is undeclared parapoly variable
| * | | Fix crash when proc return type is undeclared parapoly variableRoland Kovacs2024-12-222-1/+9
| |/ / | | | | | | | | | | | | | | | | | | | | | Disallow the declaration of new parapoly variables in return types, when the procedure's parapoly scope is itself. This happens if e.g.: `foo :: proc() -> $T`. Closes #3949, #4294, #4563
* | | Add `#branch_location`gingerBill2025-01-017-38/+89
| | |
* | | Support multiple paths for wasm in `foreign import`gingerBill2025-01-013-46/+77
|/ /
* | Fix bug with comparisons with big endian typesgingerBill2024-12-121-0/+19
| |
* | compiler: remove viral `#force(_no)_inline`Laytan Laats2024-12-091-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | If a procedure was marked `#force_no_inline`, any procedure calls within it would also implicitly be. This is not expected for multiple reasons: 1. `#force(_no)_inline` on a call expr works differently than on a procedure literal. 2. Adding the attribute on it and every called proc blows up the amount of work for the inliner pass and may increase the time it takes. 3. Putting `#force_no_inline` on a procedure to keep executable size down (like we do for some map procedures), benchmark it, or find it in asm/ir has the added effect of slowing those procedures down significantly and not representing truth.
* | fix #4547 - wasm -out without file extensionLaytan Laats2024-12-061-1/+1
| |
* | Fix #4552gingerBill2024-12-051-0/+1
| |
* | Try to fix #4553gingerBill2024-12-051-1/+1
| |
* | Fix #4561gingerBill2024-12-051-0/+1
| |
* | ABI change: for indirect parameters size_of <= 16, do callee stack copygingerBill2024-12-053-0/+25
| |
* | Minor improvement to type handing on failuresgingerBill2024-12-021-12/+14
| |
* | Fix #4535gingerBill2024-12-021-1/+5
| |
* | Fix #4530gingerBill2024-12-022-6/+10
| |
* | Fix assert when return value expected.Jeroen van Rijn2024-11-281-2/+2
| |
* | Merge pull request #4440 from 0dminnimda/support_llvm19gingerBill2024-11-273-5/+17
|\ \ | | | | | | Add support for llvm version 19
| * | src/main.cpp: apply suggestion0dminnimda2024-11-021-1/+1
| | | | | | | | | Co-authored-by: Laytan <laytanlaats@hotmail.com>
| * | Update version in more places0dminnimda2024-11-021-2/+2
| | |
| * | Add support for llvm version 190dminnimda2024-10-312-3/+15
| | |
* | | properly keep track of current scope for debuggingLaytan Laats2024-11-271-0/+6
| | | | | | | | | | | | Fixes #4519
* | | Check `type_expr` in `check_procedure_param_polymorphic_type`Jeroen van Rijn2024-11-271-2/+1
| | | | | | | | | | | | Fixes #4523 assert.
* | | sys/info & odin report: rework macos version retrievalLaytan Laats2024-11-261-456/+42
| | |
* | | add macos 15.1.1 to odin report and sys/infoLaytan Laats2024-11-261-0/+2
| | |
* | | Convert mutex guard to "try lock"gingerBill2024-11-261-7/+9
| | |
* | | Fix #4508 for abs, min, max (#4516)Jeroen van Rijn2024-11-251-1/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix #4508 for abs, min, max and the rest of the builtins. None of these segfault now: ```odin package bug main :: proc() { p :: proc() {} // _ = len(p()) // _ = cap(p()) // _ = size_of(p()) // _ = align_of(p()) // T :: struct {} // _ = offset_of(p()) // _ = offset_of(T, p()) // _ = offset_of(p(), foo) // _ = offset_of(p(), "") // _ = type_of(p()) // _ = type_info_of(p()) // _ = typeid_of(p()) // A: [4]int // _ = swizzle(p()) // :: proc(x: [N]T, indices: ..int) -> [len(indices)]T --- // _ = swizzle(A, p()) // :: proc(x: [N]T, indices: ..int) -> [len(indices)]T --- // _ = complex(p(), p()) // _ = quaternion(p(), p(), p(), p()) // _ = quaternion(w=p(), x=p(), y=p(), z=p()) // _ = real(p()) // _ = imag(p()) // _ = jmag(p()) // _ = kmag(p()) // _ = conj(p()) // _ = expand_values(p()) // _ = min(p()) // _ = max(p()) // _ = abs(p()) // _ = clamp(p(), p(), p()) // _ = soa_zip(p()) // _ = soa_unzip(p()) } ```
* | | Allow for `odin help build` etcgingerBill2024-11-251-1/+7
| | |