Commit 4c71819d by Gerald Pfeifer Committed by Gerald Pfeifer

hash-set.h (DEFINE_DEBUG_HASH_SET): Remove static qualifier from explicit…

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
parent 68e601d8
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> 2017-11-27 Richard Biener <rguenther@suse.de>
* gimple-fold.c (gimple_fold_builtin_memory_op): Remove dead code, * gimple-fold.c (gimple_fold_builtin_memory_op): Remove dead code,
...@@ -150,7 +150,7 @@ debug_helper (hash_set<T> &ref) ...@@ -150,7 +150,7 @@ debug_helper (hash_set<T> &ref)
} }
#define DEFINE_DEBUG_HASH_SET(T) \ #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_FUNCTION void \
debug (hash_set<T> &ref) \ debug (hash_set<T> &ref) \
{ \ { \
......
...@@ -453,8 +453,8 @@ debug_helper (vec<T, va_gc> &ref) ...@@ -453,8 +453,8 @@ debug_helper (vec<T, va_gc> &ref)
functions for a type T. */ functions for a type T. */
#define DEFINE_DEBUG_VEC(T) \ #define DEFINE_DEBUG_VEC(T) \
template static void debug_helper (vec<T> &); \ template void debug_helper (vec<T> &); \
template static void debug_helper (vec<T, va_gc> &); \ template void debug_helper (vec<T, va_gc> &); \
/* Define the vec<T> debug functions. */ \ /* Define the vec<T> debug functions. */ \
DEBUG_FUNCTION void \ DEBUG_FUNCTION void \
debug (vec<T> &ref) \ debug (vec<T> &ref) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment