PR 68406: Avoid problem with older host compilers
authorRichard Sandiford <richard.sandiford@arm.com>
Wed, 18 Nov 2015 14:31:10 +0000 (14:31 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Wed, 18 Nov 2015 14:31:10 +0000 (14:31 +0000)
commit1fcb9641fd21e8b01c8c0bf68debb50093af2fda
tree576b822340c4bbe0496edac99715696e9b6d8fc9
parent4a353e1608a97ba1b3712c3130baed8eff8d0819
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.

From-SVN: r230549
gcc/ChangeLog
gcc/hash-set.h