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/31852] Missing __builtin_memchr


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

--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Wed Jul  4 13:59:21 2018
New Revision: 262407

URL: https://gcc.gnu.org/viewcvs?rev=262407&root=gcc&view=rev
Log:
Add workaround to std::variant for Clang bug 31852

Backport from mainline
2018-03-26  Jonathan Wakely  <jwakely@redhat.com>

        * include/std/variant (__get): Qualify calls to avoid ADL.
        (__select_index): Adjust whitespace.
        (variant): Add using-declaration to workaround Clang bug.

Modified:
    branches/gcc-7-branch/libstdc++-v3/ChangeLog
    branches/gcc-7-branch/libstdc++-v3/include/std/variant

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