--- UTC Index: gcc/hash-set.h =================================================================== --- gcc/hash-set.h (revision 255155) +++ gcc/hash-set.h (working copy) @@ -150,7 +150,7 @@ } #define DEFINE_DEBUG_HASH_SET(T) \ - template static void debug_helper (hash_set &); \ + template void debug_helper (hash_set &); \ DEBUG_FUNCTION void \ debug (hash_set &ref) \ { \ Index: gcc/vec.h =================================================================== --- gcc/vec.h (revision 255155) +++ gcc/vec.h (working copy) @@ -453,8 +453,8 @@ functions for a type T. */ #define DEFINE_DEBUG_VEC(T) \ - template static void debug_helper (vec &); \ - template static void debug_helper (vec &); \ + template void debug_helper (vec &); \ + template void debug_helper (vec &); \ /* Define the vec debug functions. */ \ DEBUG_FUNCTION void \ debug (vec &ref) \