This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/10591] use ODR rules to make C++ objects not be TREE_PUBLIC
- From: "jason at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Mar 2006 18:22:58 -0000
- Subject: [Bug c++/10591] use ODR rules to make C++ objects not be TREE_PUBLIC
- References: <bug-10591-102@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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