[Bug libstdc++/97449] [11 Regression] libstdc++ <variant> cannot be compiled with clang after 3427e31331677ca826c5588c87924214f7e5c54b

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Oct 17 20:11:02 GMT 2020


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

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Ville Voutilainen <ville@gcc.gnu.org>:

https://gcc.gnu.org/g:1f65bf2aa65609c0cd88af1b83191d37d6729f46

commit r11-4024-g1f65bf2aa65609c0cd88af1b83191d37d6729f46
Author: Ville Voutilainen <ville.voutilainen@gmail.com>
Date:   Sat Oct 17 22:08:50 2020 +0300

    libstdc++: Fix visitor return type diagnostics [PR97449]

    libstdc++-v3/ChangeLog:

            PR libstdc++/97449
            * include/std/variant
            (__gen_vtable_impl<>::_S_apply_single_alt):
            Diagnose visitor return type mismatches here..
            (__gen_vtable_impl</*base case*/>::_S_apply):
            ..not here.


More information about the Gcc-bugs mailing list