* hash-set.h (DEFINE_DEBUG_HASH_SET): Remove static qualifier
from explicit instantiation of debug_helper.
* vec.h (DEFINE_DEBUG_VEC): Ditto.
From-SVN: r255175
+2017-11-27 Gerald Pfeifer <gerald@pfeifer.com>
+
+ * hash-set.h (DEFINE_DEBUG_HASH_SET): Remove static qualifier
+ from explicit instantiation of debug_helper.
+ * vec.h (DEFINE_DEBUG_VEC): Ditto.
+
2017-11-27 Richard Biener <rguenther@suse.de>
* gimple-fold.c (gimple_fold_builtin_memory_op): Remove dead code,
}
#define DEFINE_DEBUG_HASH_SET(T) \
- template static void debug_helper (hash_set<T> &); \
+ template void debug_helper (hash_set<T> &); \
DEBUG_FUNCTION void \
debug (hash_set<T> &ref) \
{ \
functions for a type T. */
#define DEFINE_DEBUG_VEC(T) \
- template static void debug_helper (vec<T> &); \
- template static void debug_helper (vec<T, va_gc> &); \
+ template void debug_helper (vec<T> &); \
+ template void debug_helper (vec<T, va_gc> &); \
/* Define the vec<T> debug functions. */ \
DEBUG_FUNCTION void \
debug (vec<T> &ref) \