Skip to content

Conversation

@gbaraldi
Copy link
Member

Fixes #59552

@vchuravy
Copy link
Member

Did this land in time for 1.12?

@gbaraldi
Copy link
Member Author

Yes

@gbaraldi gbaraldi added the backport 1.12 Change should be backported to release-1.12 label Sep 15, 2025
test/ccall.jl Outdated
@test gc_safe_ccall() isa UInt64
# check for the gc_safe store
@test occursin("store atomic i8 2", llvm)
@test Base.infer_effects(gc_safe_ccall, Tuple{}) == true
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Error in testset ccall:
Test Failed at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-honeycrisp-XG3Q6T6R70.0/build/default-honeycrisp-XG3Q6T6R70-0/julialang/julia-master/julia-7bde44d5c7/share/julia/test/ccall.jl:1981
  Expression: Base.infer_effects(gc_safe_ccall, Tuple{}) == true
   Evaluated: (!c,!e,+n,!t,!s,!m,!u,+o,!r) == true
ERROR: LoadError: Test run finished with errors

@aviatesk aviatesk merged commit aecb173 into master Sep 16, 2025
7 checks passed
@aviatesk aviatesk deleted the gb/assume-effects branch September 16, 2025 09:29
aviatesk pushed a commit that referenced this pull request Sep 16, 2025
@aviatesk aviatesk removed the backport 1.12 Change should be backported to release-1.12 label Sep 16, 2025
xal-0 pushed a commit to xal-0/julia that referenced this pull request Sep 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Base.@assume_effects :effect @ccall gc_safe=true call()::Ret doesn't work

3 participants