On Fri, 15 Dec 2023 09:05:37 GMT, Kim Barrett <kbarr...@openjdk.org> wrote:
>> There are, strangely, many more register keywords in the JDK codebase than >> just this one, but none of them throw the same errors, only this one does > > 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! ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/14988#discussion_r1427866744