diff options
author | Alexandre Oliva <oliva@adacore.com> | 2022-12-29 14:32:46 -0300 |
---|---|---|
committer | Alexandre Oliva <oliva@gnu.org> | 2022-12-29 14:32:46 -0300 |
commit | 26be8b84603be48d1cf35bea3be2bb398f7964b7 (patch) | |
tree | b909a816e129765a46ea1a4b88d0b54b3f87f90f /gcc/print-tree.h | |
parent | da086e472b61245dedcb2463c53f84072773d1f5 (diff) | |
download | gcc-26be8b84603be48d1cf35bea3be2bb398f7964b7.zip gcc-26be8b84603be48d1cf35bea3be2bb398f7964b7.tar.gz gcc-26be8b84603be48d1cf35bea3be2bb398f7964b7.tar.bz2 |
scoped tables: insert before further lookups
Avoid hash table lookups between requesting an insert and storing the
inserted value in avail_exprs_stack. Lookups before the insert is
completed could fail to find double-hashed elements.
for gcc/ChangeLog
* tree-ssa-scopedtables.cc
(avail_exprs_stack::lookup_avail_expr): Finish hash table
insertion before further lookups.
Diffstat (limited to 'gcc/print-tree.h')
0 files changed, 0 insertions, 0 deletions