[Bug c++/92695] P1064R0 - virtual constexpr fails if object taken from array
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Dec 20 17:27:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92695
--- Comment #18 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Dec 20 17:26:28 2019
New Revision: 279661
URL: https://gcc.gnu.org/viewcvs?rev=279661&root=gcc&view=rev
Log:
Backported from mainline
2019-11-28 Jakub Jelinek <jakub@redhat.com>
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:
branches/gcc-9-branch/gcc/testsuite/g++.dg/warn/inline3.C
Modified:
branches/gcc-9-branch/gcc/cp/ChangeLog
branches/gcc-9-branch/gcc/cp/decl2.c
branches/gcc-9-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list