hash set: reject attempts to add empty values
authorAlexandre Oliva <oliva@adacore.com>
Thu, 29 Dec 2022 17:33:03 +0000 (14:33 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Thu, 29 Dec 2022 17:39:47 +0000 (14:39 -0300)
commit1b9270852055f2641520fadd63328f997e76d367
treec8d37184be71df74bd66aa93ae0461a72be904aa
parent025e3d57995f6a9ede2768cbbe46e4fa49f13b98
hash set: reject attempts to add empty values

Check, after adding a key to a hash set, that the entry does not look
empty.

for  gcc/ChangeLog

* hash-set.h (add): Check that the inserted entry does not
look empty.
gcc/hash-set.h