https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88061
Milan Svoboda <milan.svoboda at centrum dot cz> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |milan.svoboda at centrum dot cz --- Comment #7 from Milan Svoboda <milan.svoboda at centrum dot cz> --- template <typename T> static void foo() { static int PUT_IN_MEOW_value = 0; } When the template function is static, this workaround with linker doesn't work.