[Bug c++/92695] P1064R0 - virtual constexpr fails if object taken from array

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Nov 28 08:06:00 GMT 2019


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

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Nov 28 08:06:09 2019
New Revision: 278802

URL: https://gcc.gnu.org/viewcvs?rev=278802&root=gcc&view=rev
Log:
        PR c++/92695
        * decl2.c (mark_used): Don't call note_vague_linkage_fn for pure
        virtual functions, even if they are declared inline.

        * g++.dg/warn/inline3.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/warn/inline3.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl2.c
    trunk/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list