diff options
Diffstat (limited to 'gcc/godump.c')
-rw-r--r-- | gcc/godump.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/godump.c b/gcc/godump.c index cf99894..a50aef1 100644 --- a/gcc/godump.c +++ b/gcc/godump.c @@ -56,6 +56,8 @@ static FILE *go_dump_file; static GTY(()) vec<tree, va_gc> *queue; +struct godump_str_hash : string_hash, ggc_remove <const char *> {}; + /* A hash table of macros we have seen. */ static htab_t macro_hash; @@ -535,7 +537,7 @@ public: /* Types which may potentially have to be defined as dummy types. */ - hash_set<const char *> pot_dummy_types; + hash_set<const char *, false, godump_str_hash> pot_dummy_types; /* Go keywords. */ htab_t keyword_hash; |