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
Showing
Please
register
or
sign in
to comment