diff options
author | Jason Merrill <jason@redhat.com> | 2025-07-22 00:12:12 -0400 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2025-08-06 06:21:01 -0700 |
commit | ce7a22bd26c39137658e973797a419d27d767c2c (patch) | |
tree | 2304ca9b9adf230fdd1aabd847289e912fed486c /libcpp/include/cpplib.h | |
parent | 79e4f386ad836b7f9e1bdaf6aded4585035432ef (diff) | |
download | gcc-ce7a22bd26c39137658e973797a419d27d767c2c.zip gcc-ce7a22bd26c39137658e973797a419d27d767c2c.tar.gz gcc-ce7a22bd26c39137658e973797a419d27d767c2c.tar.bz2 |
c++: improve constexpr type mismatch diagnostic
This diagnostic failed to specify the actual type of the object being
accessed through a glvalue of an incompatible type, and could also use to
indicate where that object comes from.
gcc/cp/ChangeLog:
* constexpr.cc (cxx_eval_indirect_ref): Improve diagnostic.
gcc/testsuite/ChangeLog:
* g++.dg/cpp26/constexpr-new3.C: Tweak diagnostic.
Diffstat (limited to 'libcpp/include/cpplib.h')
0 files changed, 0 insertions, 0 deletions