[Bug bootstrap/98340] gcc trunk build with clang failure, part 2

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Dec 17 17:57:18 GMT 2020


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

--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Nathan Sidwell <nathan@gcc.gnu.org>:

https://gcc.gnu.org/g:2d7a40fa60fb8b9870cfd053a37fc67404353ee2

commit r11-6237-g2d7a40fa60fb8b9870cfd053a37fc67404353ee2
Author: Nathan Sidwell <nathan@acm.org>
Date:   Thu Dec 17 09:53:01 2020 -0800

    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.


More information about the Gcc-bugs mailing list