[jdk8u-dev] RFR: 8207011: Remove uses of the register storage class specifier
Dongbo He
dongbohe at openjdk.java.net
Thu Mar 17 11:47:58 UTC 2022
Hi,
Please review the backport of JDK-8207011 to 8u.
Bug: https://bugs.openjdk.java.net/browse/JDK-8207011
Original commit: https://git.openjdk.java.net/jdk11u-dev/commit/98fb4f5e18a58727f51e00e3c08c0f5eac6748ec
8u webrev: http://cr.openjdk.java.net/~dongbohe/8207011/webrev.01/
This patch fixes build failure with gcc 11. Patch doesn’t apply cleanly, because JDK-8188813[1], JDK-8204301[2], JDK-8041415 [3], and JDK-8186089[4] does not exist in 8.
+ JDK-8188813 added register in orderAccess_aix_ppc.inline.hpp, orderAccess_linux_ppc.inline.hpp, orderAccess_linux_s390.inline.hpp,
and JDK-8204301 renamed these files to orderAccess_aix_ppc.inline.hpp, orderAccess_aix_ppc.hpp, orderAccess_linux_s390.hpp.
+ JDK-8041415 changed uint32 to uint32_t.
+ JDK-8186089 moved arena from allocation.cpp to arena.cpp.
Before patch:
$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/home/jiangshunningy/install/libexec/gcc/aarch64-unknown-linux-gnu/11.2.0/lto-wrapper
Target: aarch64-unknown-linux-gnu
Configured with: ../configure --prefix=/home/jiangshunningy/install --enable-languages=c,c++,fortran,go
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 11.2.0 (GCC)
$ bash configure
$ make images
-------------
Commit messages:
- 8207011: Remove uses of the register storage class specifier
Changes: https://git.openjdk.java.net/jdk8u-dev/pull/11/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk8u-dev&pr=11&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8207011
Stats: 52 lines in 12 files changed: 0 ins; 0 del; 52 mod
Patch: https://git.openjdk.java.net/jdk8u-dev/pull/11.diff
Fetch: git fetch https://git.openjdk.java.net/jdk8u-dev pull/11/head:pull/11
PR: https://git.openjdk.java.net/jdk8u-dev/pull/11
More information about the jdk8u-dev
mailing list