diff options
author | Jakub Jelinek <jakub@redhat.com> | 2018-11-20 23:23:12 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2018-11-20 23:23:12 +0100 |
commit | 6a3ebcc6620cc923b8e533d6c2381db8016f3b74 (patch) | |
tree | be39030978dc66e49e9c6ef4d23b198f4d87df4b /gcc/fortran/scanner.c | |
parent | 260a993319bdf4ebc01298b7e802afbd3b35574a (diff) | |
download | gcc-6a3ebcc6620cc923b8e533d6c2381db8016f3b74.zip gcc-6a3ebcc6620cc923b8e533d6c2381db8016f3b74.tar.gz gcc-6a3ebcc6620cc923b8e533d6c2381db8016f3b74.tar.bz2 |
re PR c++/88110 (ICE (segfault) with -std=C++2a in cxx_eval_constant_expression when trying to evaluate nonoverridden "virtual ... = 0" function of a base class)
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.
From-SVN: r266329
Diffstat (limited to 'gcc/fortran/scanner.c')
0 files changed, 0 insertions, 0 deletions