--- old/src/hotspot/os_cpu/linux_x86/os_linux_x86.cpp 2018-07-11 14:32:23.364284166 -0700 +++ new/src/hotspot/os_cpu/linux_x86/os_linux_x86.cpp 2018-07-11 14:32:22.920275714 -0700 @@ -95,11 +95,11 @@ address os::current_stack_pointer() { #ifdef SPARC_WORKS - register void *esp; + void *esp; __asm__("mov %%" SPELL_REG_SP ", %0":"=r"(esp)); return (address) ((char*)esp + sizeof(long)*2); #elif defined(__clang__) - intptr_t* esp; + void* esp; __asm__ __volatile__ ("mov %%" SPELL_REG_SP ", %0":"=r"(esp):); return (address) esp; #else @@ -233,7 +233,7 @@ intptr_t* _get_previous_fp() { #ifdef SPARC_WORKS - register intptr_t **ebp; + intptr_t **ebp; __asm__("mov %%" SPELL_REG_FP ", %0":"=r"(ebp)); #elif defined(__clang__) intptr_t **ebp;