aboutsummaryrefslogtreecommitdiff
path: root/libgo/misc/cgo
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2025-08-21 13:52:25 -0400
committerJason Merrill <jason@redhat.com>2025-08-21 13:52:48 -0400
commit70f33ad677e6350a724b56d4cb766480ed8367fc (patch)
tree7bc7b74a07b9a753695e11127dedccd9fe576af0 /libgo/misc/cgo
parent4196389cd2dd0e4f612df4a664be9164cbc50989 (diff)
downloadgcc-70f33ad677e6350a724b56d4cb766480ed8367fc.zip
gcc-70f33ad677e6350a724b56d4cb766480ed8367fc.tar.gz
gcc-70f33ad677e6350a724b56d4cb766480ed8367fc.tar.bz2
c++: constexpr clobber of const [PR121068]
Since r16-3022, 20_util/variant/102912.cc was failing in C++20 and above due to wrong errors about destruction modifying a const object; destruction is OK. PR c++/121068 gcc/cp/ChangeLog: * constexpr.cc (cxx_eval_store_expression): Allow clobber of a const object. gcc/testsuite/ChangeLog: * g++.dg/cpp2a/constexpr-dtor18.C: New test.
Diffstat (limited to 'libgo/misc/cgo')
0 files changed, 0 insertions, 0 deletions