Re: [PATCH] rtl-ssa: Fix move range canonicalisation [PR115929]

2024-07-16 Thread Richard Biener
On Tue, Jul 16, 2024 at 4:30 PM Richard Sandiford wrote: > > In this PR, canonicalize_move_range walked off the end of a list > and triggered a null dereference. There are multiple ways of fixing > that, but I think the approach taken in the patch should be > relatively efficient. > > Tested on a

[PATCH] rtl-ssa: Fix move range canonicalisation [PR115929]

2024-07-16 Thread Richard Sandiford
In this PR, canonicalize_move_range walked off the end of a list and triggered a null dereference. There are multiple ways of fixing that, but I think the approach taken in the patch should be relatively efficient. Tested on aarch64-linux-gnu & x86_64-linux-gnu. OK to install? Richard gcc/