From 6d2656672cc6fdb4c5a41a11057ffb11fc9cbdc2 Mon Sep 17 00:00:00 2001 From: Tim Besard Date: Wed, 23 Sep 2026 09:07:29 +0200 Subject: [PATCH] Remove a quirk that never applies Base.Checked.throw_overflowerr_negation takes a single argument on every supported version of Julia, so the three-argument override never matched. --- src/pocl/device/quirks.jl | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/pocl/device/quirks.jl b/src/pocl/device/quirks.jl index 79490eb93..9ed006e19 100644 --- a/src/pocl/device/quirks.jl +++ b/src/pocl/device/quirks.jl @@ -22,8 +22,6 @@ end # checked.jl @device_override @noinline Base.Checked.throw_overflowerr_binaryop(op, x, y) = @print_and_throw "Binary operation overflowed" -@device_override @noinline Base.Checked.throw_overflowerr_negation(op, x, y) = - @print_and_throw "Negation overflowed" # boot.jl @device_override @noinline Core.throw_inexacterror(f::Symbol, ::Type{T}, val) where {T} =