aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/tree.cc
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2024-07-22 16:42:16 +0100
committerThomas Koenig <tkoenig@gcc.gnu.org>2024-07-28 19:05:44 +0200
commit082e0faa06b32f765cceb989453d7736ddaee878 (patch)
tree8f53470dba087dc951f61280ee0d2ba36d73f974 /gcc/cp/tree.cc
parent59041534f03903e828d4ada1b879af2dd1b536fb (diff)
downloadgcc-082e0faa06b32f765cceb989453d7736ddaee878.zip
gcc-082e0faa06b32f765cceb989453d7736ddaee878.tar.gz
gcc-082e0faa06b32f765cceb989453d7736ddaee878.tar.bz2
rtl-ssa: Avoid using a stale splay tree root [PR116009]
In the fix for PR115928, I'd failed to notice that "root" was used later in the function, so needed to be updated. gcc/ PR rtl-optimization/116009 * rtl-ssa/accesses.cc (function_info::add_def): Set the root local variable after removing the old clobber group. gcc/testsuite/ PR rtl-optimization/116009 * gcc.c-torture/compile/pr116009.c: New test.
Diffstat (limited to 'gcc/cp/tree.cc')
0 files changed, 0 insertions, 0 deletions