aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2023-08-17 18:27:15 +0100
committerJonathan Wakely <jwakely@redhat.com>2023-08-17 20:24:17 +0100
commit84cff28fd282c74399e6ad80df77025a5008e851 (patch)
tree2f928793dc7580ec269d57834b89d1ab7b136609 /gcc/rust/backend
parentc992acdc6774ef3d566fab5f324d254bed1b9d4b (diff)
downloadgcc-84cff28fd282c74399e6ad80df77025a5008e851.zip
gcc-84cff28fd282c74399e6ad80df77025a5008e851.tar.gz
gcc-84cff28fd282c74399e6ad80df77025a5008e851.tar.bz2
libstdc++: Make __cmp_cat::__unseq constructor consteval
This constructor should only ever be used with a literal 0 as the argument, so we can make it consteval. This has the nice advantage that it is expanded immediately in the front end, and so GDB will never step into the __cmp_cat::__unseq::__unseq(__unseq*) constructor that is uninteresting and probably confusing to users. libstdc++-v3/ChangeLog: * libsupc++/compare (__cmp_cat::__unseq): Make ctor consteval. * testsuite/18_support/comparisons/categories/zero_neg.cc: Prune excess errors caused by invalid consteval calls.
Diffstat (limited to 'gcc/rust/backend')
0 files changed, 0 insertions, 0 deletions