aboutsummaryrefslogtreecommitdiff
path: root/src/check_builtin.cpp
diff options
context:
space:
mode:
authorJeroen van Rijn <Kelimion@users.noreply.github.com>2025-06-03 11:18:11 +0200
committerJeroen van Rijn <Kelimion@users.noreply.github.com>2025-06-03 11:18:11 +0200
commit82dfb436638335a7527262783bc60ffad5262cba (patch)
tree50949e0718705d5cc833e0bbda52b5cd2a063f4f /src/check_builtin.cpp
parentccef390c0ce8a64edc5726adef9fdd3d2984b499 (diff)
Fix #5265
Diffstat (limited to 'src/check_builtin.cpp')
-rw-r--r--src/check_builtin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_builtin.cpp b/src/check_builtin.cpp
index f8bf4b0ce..700978a76 100644
--- a/src/check_builtin.cpp
+++ b/src/check_builtin.cpp
@@ -5592,7 +5592,7 @@ gb_internal bool check_builtin_procedure(CheckerContext *c, Operand *operand, As
}
if (sz >= 64) {
- if (is_type_unsigned(x.type)) {
+ if (is_type_unsigned(x.type) || is_type_unsigned(y.type)) {
add_package_dependency(c, "runtime", "umodti3", true);
add_package_dependency(c, "runtime", "udivti3", true);
} else {