diff options
author | Gerald Pfeifer <gerald@pfeifer.com> | 2017-11-27 17:29:06 +0000 |
---|---|---|
committer | Gerald Pfeifer <gerald@gcc.gnu.org> | 2017-11-27 17:29:06 +0000 |
commit | 4c71819dda4507e9b06bc8fa61945136cb63550a (patch) | |
tree | c32035a80cd0c6acf392748f2096a7044850bcdc | |
parent | 68e601d879ea9295228f4111aaaa101607757da9 (diff) | |
download | gcc-4c71819dda4507e9b06bc8fa61945136cb63550a.zip gcc-4c71819dda4507e9b06bc8fa61945136cb63550a.tar.gz gcc-4c71819dda4507e9b06bc8fa61945136cb63550a.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/hash-set.h | 2 | ||||
-rw-r--r-- | gcc/vec.h | 4 |
3 files changed, 9 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b376ab8..0e6e5d0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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, diff --git a/gcc/hash-set.h b/gcc/hash-set.h index 75ca147..8b83f6a 100644 --- a/gcc/hash-set.h +++ b/gcc/hash-set.h @@ -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) \ { \ @@ -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) \ |