-
-
Couldn't load subscription status.
- Fork 5.7k
Closed
Labels
backport 1.12Change should be backported to release-1.12Change should be backported to release-1.12compiler:effectseffect analysiseffect analysisregressionRegression in behavior compared to a previous versionRegression in behavior compared to a previous version
Description
it appears the changes in #53687 caused
julia> Base.infer_effects(+, Tuple{Ptr{UInt8}, UInt})
(+c,+e,!n,+t,+s,+m,+u,+o,+r)
I'm assuming this is a bug as I don't know how that call could throw --- and it does not match the effects on previous versions.
adding @_nothrow_meta to +(x::Ptr, y::Integer) and -(x::Ptr, y::Integer) should fix the symptom for +, but I'm assuming it'd be desirable to fix the intrinsic as well
Metadata
Metadata
Assignees
Labels
backport 1.12Change should be backported to release-1.12Change should be backported to release-1.12compiler:effectseffect analysiseffect analysisregressionRegression in behavior compared to a previous versionRegression in behavior compared to a previous version