On 12/27/2014 04:38 PM, Momchil Velikov wrote:
+ else if (t != x && t != error_mark_node) + { + /* This is a non-friend re-declaration of a possibly + hidden function or a function template, so don't hide + it. */ + DECL_ANTICIPATED (t) = 0; + DECL_HIDDEN_FRIEND_P (t) = 0; + }
Doesn't duplicate_decls handle clearing these? Jason