aboutsummaryrefslogtreecommitdiff
path: root/libquadmath
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2024-07-17 19:38:12 +0100
committerRichard Sandiford <richard.sandiford@arm.com>2024-07-17 19:38:12 +0100
commit43a7ece873eba47a11c0b21b0068eee53740551a (patch)
treed1f41074993638652c7a013008a1dab971820764 /libquadmath
parent71b31690a7c52413496e91bcc5ee4c68af2f366f (diff)
downloadgcc-master.zip
gcc-master.tar.gz
gcc-master.tar.bz2
rtl-ssa: Fix move range canonicalisation [PR115929]HEADtrunkmaster
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. gcc/ PR rtl-optimization/115929 * rtl-ssa/movement.h (canonicalize_move_range): Check for null prev and next insns and create an invalid move range for them. gcc/testsuite/ PR rtl-optimization/115929 * gcc.dg/torture/pr115929-2.c: New test.
Diffstat (limited to 'libquadmath')
0 files changed, 0 insertions, 0 deletions