]> git.ipfire.org Git - thirdparty/gcc.git/commit
PR c++/88110
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 20 Nov 2018 22:23:12 +0000 (22:23 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 20 Nov 2018 22:23:12 +0000 (22:23 +0000)
commit85c4b1bb432465623b6647f28da8f55f2556e1b1
treebe39030978dc66e49e9c6ef4d23b198f4d87df4b
parentfe5d2fc70b451cd99bd239ce3ffce44aec92179b
PR c++/88110
* constexpr.c (cxx_eval_constant_expression) <case OBJ_TYPE_REF>: Punt
if get_base_address of ADDR_EXPR operand is not a DECL_P.

* g++.dg/cpp2a/constexpr-virtual13.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266329 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/constexpr.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp2a/constexpr-virtual13.C [new file with mode: 0644]