hash-set.h (DEFINE_DEBUG_HASH_SET): Remove static qualifier from explicit instantiation of debug_helper.

* 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
This commit is contained in:
Gerald Pfeifer 2017-11-27 17:29:06 +00:00 committed by Gerald Pfeifer
parent 68e601d879
commit 4c71819dda
3 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
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,

View File

@ -150,7 +150,7 @@ debug_helper (hash_set<T> &ref)
}
#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) \
{ \

View File

@ -453,8 +453,8 @@ debug_helper (vec<T, va_gc> &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) \