diff options
author | Jakub Jelinek <jakub@redhat.com> | 2019-12-03 09:19:04 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2019-12-03 09:19:04 +0100 |
commit | 5558a0da3248524d5fc081dc0580ab4f9e6eb0e2 (patch) | |
tree | ea748b6074ebac645335ae075a76ac871e132270 /gcc/cfgexpand.c | |
parent | 3d109462bdd666cc5ce2d0b6b0c3b7a3c19b0b4c (diff) | |
download | gcc-5558a0da3248524d5fc081dc0580ab4f9e6eb0e2.zip gcc-5558a0da3248524d5fc081dc0580ab4f9e6eb0e2.tar.gz gcc-5558a0da3248524d5fc081dc0580ab4f9e6eb0e2.tar.bz2 |
re PR c++/92695 (P1064R0 - virtual constexpr fails if object taken from array)
PR c++/92695
* constexpr.c (cxx_bind_parameters_in_call): For virtual calls,
adjust the first argument to point to the derived object rather
than its base.
* g++.dg/cpp2a/constexpr-virtual14.C: New test.
From-SVN: r278921
Diffstat (limited to 'gcc/cfgexpand.c')
0 files changed, 0 insertions, 0 deletions