]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/hash-map.h
hash-map: reject empty-looking insertions
authorAlexandre Oliva <oliva@adacore.com>
Thu, 29 Dec 2022 17:33:04 +0000 (14:33 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Thu, 29 Dec 2022 17:39:47 +0000 (14:39 -0300)
commit8d48107702aa8027f5e8b35ade919c5c0d50ef1e
treee82a3d206136bfec36bfccb186e3d724589161d0
parent1b9270852055f2641520fadd63328f997e76d367
hash-map: reject empty-looking insertions

Check, after inserting entries, that they don't look empty.

for  gcc/ChangeLog

* hash-map.h (put, get_or_insert): Check that entry does not
look empty after insertion.
gcc/hash-map.h