------- Comment #8 from mmitchel at gcc dot gnu dot org 2005-11-30 23:32 ------- I'm working on a fix for this.
The bug is that nothing updates DECL_FRIENDLIST or CLASSTYPE_DECL_LIST when a friend of a template turns out to match a global function. That looks to have been a long-standing bug, uncovered by the GC change. -- mmitchel at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |mark at codesourcery dot com |dot org | Status|NEW |ASSIGNED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24173