aboutsummaryrefslogtreecommitdiff
path: root/gcc/java
diff options
context:
space:
mode:
authorArsen Arsenović <arsen@aarsen.me>2024-08-28 21:59:18 +0200
committerArsen Arsenović <arsen@gcc.gnu.org>2024-09-27 13:37:37 +0200
commit05e4f07cad1eacf869c10622cae2a9cdee3b6a7a (patch)
tree14d2c582a21ea135e1b6670c9de802cf5df4a882 /gcc/java
parent037c97e114341143af35f4df3ff49e12afacf105 (diff)
downloadgcc-05e4f07cad1eacf869c10622cae2a9cdee3b6a7a.zip
gcc-05e4f07cad1eacf869c10622cae2a9cdee3b6a7a.tar.gz
gcc-05e4f07cad1eacf869c10622cae2a9cdee3b6a7a.tar.bz2
c++/coro: prevent ICV_STATEMENT diagnostics in temp promotion [PR116502]
If such a diagnostic is necessary, it has already been emitted, otherwise, it is not correct and emitting it here is inactionable by the user, and bogus. PR c++/116502 gcc/cp/ChangeLog: * coroutines.cc (maybe_promote_temps): Convert temporary initializers to void without complaining. gcc/testsuite/ChangeLog: * g++.dg/coroutines/maybe-unused-1.C: New test. * g++.dg/coroutines/pr116502.C: New test.
Diffstat (limited to 'gcc/java')
0 files changed, 0 insertions, 0 deletions