This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/68406] dbxout.c:2570:16: error: no matching function for call to 'hash_set<tree_node*>::traverse(vec<tree_node*>*)'
- From: "rsandifo at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 18 Nov 2015 14:31:41 +0000
- Subject: [Bug other/68406] dbxout.c:2570:16: error: no matching function for call to 'hash_set<tree_node*>::traverse(vec<tree_node*>*)'
- Auto-submitted: auto-generated
- References: <bug-68406-4 at http dot gcc dot gnu dot org/bugzilla/>
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