From 48f8fefe5bc5f1fe1e0bddbf3188d59d91ab60be Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Mon, 10 Jun 2019 09:04:39 +0200 Subject: Fix build with --enable-gather-detailed-mem-stats. 2019-06-10 Martin Liska * hash-map.h: Pass default value to hash_table ctor. * hash-table.h: Add default value to call of a ctor. From-SVN: r272104 --- gcc/hash-table.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/hash-table.h') diff --git a/gcc/hash-table.h b/gcc/hash-table.h index 686a13d..6c1fca3 100644 --- a/gcc/hash-table.h +++ b/gcc/hash-table.h @@ -389,7 +389,7 @@ public: create_ggc (size_t n CXX_MEM_STAT_INFO) { hash_table *table = ggc_alloc (); - new (table) hash_table (n, true, GATHER_STATISTICS, + new (table) hash_table (n, true, true, GATHER_STATISTICS, HASH_TABLE_ORIGIN PASS_MEM_STAT); return table; } -- cgit v1.1