[Bug c++/10591] use ODR rules to make C++ objects not be TREE_PUBLIC

jason at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Mar 21 18:23:00 GMT 2006



------- Comment #18 from jason at gcc dot gnu dot org  2006-03-21 18:22 -------
I think the summary is misleading; the change requested is an optimization. 
The testcase breaks because PCH breaks anonymous namespace naming so that it
gets the same name in all translation units.  I assume that the same problem
happens with other users of get_file_function_name.


-- 


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



More information about the Gcc-bugs mailing list