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++/17775] [3.3/3.4/4.0 Regression] -frepo with function template in anonymous namespace fails to compile


------- Additional Comments From mmitchel at gcc dot gnu dot org  2004-10-28 06:24 -------
There is really no easy way to fix this problem.  If we were to have -frepo set
the random seed to a known value, we'd then get link errors when linking
multiple translation units containing anonymous namespaces.  

We've discussed giving members of anonymous namespaces internal linkage (from
the ELF point of view) even though the C++ standard gives them external linkage.
 That's probably the right fix, but it will not happen soon.

Postponed until GCC 4.1.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.4.3                       |4.1.0


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


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