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 other/68406] dbxout.c:2570:16: error: no matching function for call to 'hash_set<tree_node*>::traverse(vec<tree_node*>*)'


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68406

--- Comment #7 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> ---
Author: rsandifo
Date: Wed Nov 18 14:31:10 2015
New Revision: 230549

URL: https://gcc.gnu.org/viewcvs?rev=230549&root=gcc&view=rev
Log:
PR 68406: Avoid problem with older host compilers

Older compilers require the Key typedef to be expanded for the traversal
function templates.  This patch uses the same approach as we did for
hash_map.

Tested on x86_64-linux-gnu.

gcc/
        PR bootstrap/68406
        * hash-set.h (hash_set::traverse): Expand Key typedef.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/hash-set.h

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