On Fri, 15 Dec 2023 11:25:24 GMT, Julian Waters <jwat...@openjdk.org> wrote:
>> Looks like this change has also already been made, by JDK-8319440. >> >> All of the other non-comment uses of "register" I found in HotSpot are gcc >> local variable register specifications: >> https://gcc.gnu.org/onlinedocs/gcc-13.2.0/gcc/Local-Register-Variables.html >> So are a different thing and not affected by the deprecation/removal of the >> C++ "register" keyword. > > Ah, I was not aware that the asm specifications for explicit registers > overrides the warning about the register keyword, thanks! It's not that it overrides the warning. They are different syntactic constructs that just happen to have a word in common. The joys of parsing C++ ... ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/14988#discussion_r1427925300