diff options
author | Jason Merrill <jason@redhat.com> | 2025-04-16 16:02:09 -0400 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2025-04-17 16:30:15 -0400 |
commit | 3f0eccfd90370a7c5300f92493143c7e5a66be85 (patch) | |
tree | 801aea02bb279a8513df3a973064b85896311d27 /libjava/gnu/java | |
parent | 3dabe6a53ef3ac24956938e2974d1c21a2a5c7ee (diff) | |
download | gcc-3f0eccfd90370a7c5300f92493143c7e5a66be85.zip gcc-3f0eccfd90370a7c5300f92493143c7e5a66be85.tar.gz gcc-3f0eccfd90370a7c5300f92493143c7e5a66be85.tar.bz2 |
c++: constexpr virtual base diagnostic
I thought this diagnostic could be clearer that the problem is the
combination of virtual bases and constexpr constructor, not just complain
that the class has virtual bases without context.
gcc/cp/ChangeLog:
* constexpr.cc (is_valid_constexpr_fn): Improve diagnostic.
gcc/testsuite/ChangeLog:
* g++.dg/cpp2a/constexpr-dtor16.C: Adjust diagnostic.
* g++.dg/cpp2a/constexpr-dynamic10.C: Likewise.
Diffstat (limited to 'libjava/gnu/java')
0 files changed, 0 insertions, 0 deletions