This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/12291] [3.4 regression?] filename only sometimes in mangled name of anonymous namespace members


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 bangerth at dealii dot org  2003-09-16 05:11 -------
OK, I understand. The thing with the explicit instantiation is the same then, though: 
the function is only instantiated if you use the extern template thing. Otherwise it 
is just not there and there's nothing you can key the anonymous namespace to. 
Now as to whether it determines wrongly that something has internal linkage is a  
different question... 
 
Can you try to come up with a smaller testcase, i.e. get rid of the include file, 
that shows the behavior you want to demonstrate? I can't seem to come up 
with something based on my small example that would trigger with templates 
and extern. 
 
Thanks 
  Wolfgang


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]