[Bug c++/12291] [3.4 regression] spurious detection of function to tie anonymous namespace names to

nathan at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Sep 18 19:09:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12291



------- Additional Comments From nathan at gcc dot gnu dot org  2003-09-18 18:50 -------
This is a shorter test case. Look at the mangling for the 'option' variable
template <class T>
struct bar
{
  bar() {}
};

extern template class bar<int>;

static void f()
{
  bar<int> b;
}

namespace {
  int option;
}



More information about the Gcc-bugs mailing list