On Tue, 27 Sep 2022 16:34:17 GMT, Aleksey Shipilev <sh...@openjdk.org> wrote:
> There seem to be the only place in Hotspot where this warning fires, yet the > warning is disabled wholesale for Hotspot. This is not good. > > I can trace the addition of sequence-point exclusion to > [JDK-8211029](https://bugs.openjdk.org/browse/JDK-8211029) (Sep 2018), yet > the only place where it triggers introduced by > [JDK-8259609](https://bugs.openjdk.org/browse/JDK-8259609) (Oct 2021). It > seems other places were fixed meanwhile. > > I believe the fixed place is just a simple leftover. Right, @rwestrel? > > Additional testing: > - [x] Linux x86_64 fastdebug `tier1` > - [x] Linux x86_64 fastdebug `tier2` > - [x] The build matrix of: > - GCC 10 > - {i686, x86_64, aarch64, powerpc64le, s390x, armhf, riscv64} > - {server} > - {release, fastdebug} This pull request has now been integrated. Changeset: 388a56e4 Author: Aleksey Shipilev <sh...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/388a56e4c4278f2a3da31946b15a45f3aee25e58 Stats: 2 lines in 2 files changed: 0 ins; 1 del; 1 mod 8294467: Fix sequence-point warnings in Hotspot Reviewed-by: dholmes, thartmann, roland ------------- PR: https://git.openjdk.org/jdk/pull/10454