diff options
author | Jakub Jelinek <jakub@redhat.com> | 2022-11-16 10:23:22 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2022-11-16 10:23:22 +0100 |
commit | 136029059686fed2d99c755baf35f98553fc0232 (patch) | |
tree | c285d86a0438a319be1d6e541b471ac6c2c3a494 /gcc/range-op-float.cc | |
parent | d59858f6ee7f356f27ccc2d29129826781f9483f (diff) | |
download | gcc-136029059686fed2d99c755baf35f98553fc0232.zip gcc-136029059686fed2d99c755baf35f98553fc0232.tar.gz gcc-136029059686fed2d99c755baf35f98553fc0232.tar.bz2 |
c++: Implement CWG 2654 - Un-deprecation of compound volatile assignments
The following patch implements CWG 2654.
2022-11-16 Jakub Jelinek <jakub@redhat.com>
* typeck.cc (cp_build_modify_expr): Implement CWG 2654
- Un-deprecation of compound volatile assignments. Remove
-Wvolatile warning about compound volatile assignments.
* g++.dg/cpp2a/volatile1.C (fn2, fn3, racoon): Adjust expected
diagnostics.
* g++.dg/cpp2a/volatile3.C (fn2, fn3, racoon): Likewise.
* g++.dg/cpp2a/volatile5.C (f): Likewise.
* g++.dg/ext/vector25.C (foo): Don't expect a warning.
* g++.dg/cpp1y/new1.C (test_unused): Likewise.
Diffstat (limited to 'gcc/range-op-float.cc')
0 files changed, 0 insertions, 0 deletions