Skip to content

Conversation

adienes
Copy link
Member

@adienes adienes commented Apr 22, 2025

op should not be inbounds-ed here

the test case I added might technically be an illegal (or at least bad) use of @propagate_inbounds in case anyone has a suggestion for a more natural test case, but nonetheless it demonstrates getting a BoundsError instead of a segfault (worse) or incorrect / junk data (more worse), both of which happen on master

@adienes adienes added arrays [a, r, r, a, y, s] bugfix This change fixes an existing bug labels Apr 22, 2025
@adienes adienes changed the title Narrow @inbounds annotionas in accumulate.jl to only indexing calls Narrow @inbounds annotations in accumulate.jl to only indexing calls Apr 22, 2025
@mbauman mbauman merged commit bdab032 into JuliaLang:master Apr 24, 2025
7 checks passed
@adienes adienes deleted the narrow_inbounds_accumulate branch April 24, 2025 15:09
@mbauman mbauman added backport 1.10 Change should be backported to the 1.10 release backport 1.11 Change should be backported to release-1.11 backport 1.12 Change should be backported to release-1.12 labels Apr 24, 2025
KristofferC pushed a commit that referenced this pull request Apr 25, 2025
…lls (#58200)

`op` should not be `inbounds`-ed here

the test case I added might technically be an illegal (or at least bad)
use of `@propagate_inbounds` in case anyone has a suggestion for a more
natural test case, but nonetheless it demonstrates getting a
`BoundsError` instead of a segfault (worse) or incorrect / junk data
(more worse), both of which happen on master

(cherry picked from commit bdab032)
@KristofferC KristofferC mentioned this pull request Apr 25, 2025
71 tasks
KristofferC pushed a commit that referenced this pull request Apr 26, 2025
…lls (#58200)

`op` should not be `inbounds`-ed here

the test case I added might technically be an illegal (or at least bad)
use of `@propagate_inbounds` in case anyone has a suggestion for a more
natural test case, but nonetheless it demonstrates getting a
`BoundsError` instead of a segfault (worse) or incorrect / junk data
(more worse), both of which happen on master

(cherry picked from commit bdab032)
KristofferC pushed a commit that referenced this pull request Apr 26, 2025
…lls (#58200)

`op` should not be `inbounds`-ed here

the test case I added might technically be an illegal (or at least bad)
use of `@propagate_inbounds` in case anyone has a suggestion for a more
natural test case, but nonetheless it demonstrates getting a
`BoundsError` instead of a segfault (worse) or incorrect / junk data
(more worse), both of which happen on master

(cherry picked from commit bdab032)
KristofferC pushed a commit that referenced this pull request Apr 29, 2025
…lls (#58200)

`op` should not be `inbounds`-ed here

the test case I added might technically be an illegal (or at least bad)
use of `@propagate_inbounds` in case anyone has a suggestion for a more
natural test case, but nonetheless it demonstrates getting a
`BoundsError` instead of a segfault (worse) or incorrect / junk data
(more worse), both of which happen on master

(cherry picked from commit bdab032)
@KristofferC KristofferC mentioned this pull request Apr 29, 2025
53 tasks
LebedevRI pushed a commit to LebedevRI/julia that referenced this pull request May 2, 2025
…lls (JuliaLang#58200)

`op` should not be `inbounds`-ed here

the test case I added might technically be an illegal (or at least bad)
use of `@propagate_inbounds` in case anyone has a suggestion for a more
natural test case, but nonetheless it demonstrates getting a
`BoundsError` instead of a segfault (worse) or incorrect / junk data
(more worse), both of which happen on master
@KristofferC KristofferC removed the backport 1.12 Change should be backported to release-1.12 label May 9, 2025
KristofferC pushed a commit that referenced this pull request Jun 4, 2025
…lls (#58200)

`op` should not be `inbounds`-ed here

the test case I added might technically be an illegal (or at least bad)
use of `@propagate_inbounds` in case anyone has a suggestion for a more
natural test case, but nonetheless it demonstrates getting a
`BoundsError` instead of a segfault (worse) or incorrect / junk data
(more worse), both of which happen on master

(cherry picked from commit bdab032)
@KristofferC KristofferC mentioned this pull request Jun 4, 2025
75 tasks
KristofferC pushed a commit that referenced this pull request Jun 5, 2025
…lls (#58200)

`op` should not be `inbounds`-ed here

the test case I added might technically be an illegal (or at least bad)
use of `@propagate_inbounds` in case anyone has a suggestion for a more
natural test case, but nonetheless it demonstrates getting a
`BoundsError` instead of a segfault (worse) or incorrect / junk data
(more worse), both of which happen on master

(cherry picked from commit bdab032)
KristofferC pushed a commit that referenced this pull request Jul 3, 2025
…lls (#58200)

`op` should not be `inbounds`-ed here

the test case I added might technically be an illegal (or at least bad)
use of `@propagate_inbounds` in case anyone has a suggestion for a more
natural test case, but nonetheless it demonstrates getting a
`BoundsError` instead of a segfault (worse) or incorrect / junk data
(more worse), both of which happen on master

(cherry picked from commit bdab032)
@KristofferC KristofferC removed the backport 1.11 Change should be backported to release-1.11 label Aug 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arrays [a, r, r, a, y, s] backport 1.10 Change should be backported to the 1.10 release bugfix This change fixes an existing bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants