From 4a3d00d48be4f96f0776ad4e5df01139add657c4 Mon Sep 17 00:00:00 2001 From: David Malcolm Date: Fri, 12 Jul 2019 15:42:10 -0400 Subject: [PATCH 082/108] FIXME: fixups for ordered-hash-map.h --- gcc/ordered-hash-map.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/gcc/ordered-hash-map.h b/gcc/ordered-hash-map.h index e7ace13..5c8bfef 100644 --- a/gcc/ordered-hash-map.h +++ b/gcc/ordered-hash-map.h @@ -22,10 +22,12 @@ along with GCC; see the file COPYING3. If not see #define GCC_ORDERED_HASH_MAP_H /* Notes: + - The keys must be PODs, since vec<> uses assignment to populate slots + without properly initializing them. - doesn't have GTY support. - - support removal, but retains order of original insertion. - Removal might be better handled by using a doubly-linked list - of nodes, holding the values. */ + - supports removal, but retains order of original insertion. + (Removal might be better handled by using a doubly-linked list + of nodes, holding the values). */ template -- 1.8.5.3