c++: Fix clang problem [PR 98340]
authorNathan Sidwell <nathan@acm.org>
Thu, 17 Dec 2020 17:53:01 +0000 (09:53 -0800)
committerNathan Sidwell <nathan@acm.org>
Thu, 17 Dec 2020 17:56:59 +0000 (09:56 -0800)
commit2d7a40fa60fb8b9870cfd053a37fc67404353ee2
tree69d98660d32bbe90138116b441c1b8d90da806c2
parentd1ad55c4e08b827b4d38f763e0427096305d460d
c++: Fix clang problem [PR 98340]

Clang didn't like sizeot (uintset::value) in a templated context.  Not sure
where the problem lies -- ambiguous std, gcc erroneous accept or clang erroneous
reject.  Anyway, this avoids that construct.

PR c++/98340
gcc/cp/
* module.cc (uintset<T>::hash::add): Use uintset (0u).MEMBER,
rather than uintset::MEMBER.
gcc/cp/module.cc