[aarch64-port-dev ] OpenJDK builds fails on AARCH64 with Ubuntu 1604

Andrew Haley aph at redhat.com
Mon Mar 20 08:37:06 UTC 2017


On 20/03/17 02:07, Ningsheng Jian wrote:
> We also got this build failure on hs tree. It is apparently not
> aarch64 only. Maybe we should initialize need_mem_bar first.

No, please follow this pattern:

>>   default:
>>     ShouldNotReachHere();
>>     result = 0;  // unreachable
>>   }
>>   return result;
>> }

We do it this way because it needs to be clear to the reader that
this is dead code, only inserted to shut up the compiler.

Andrew.



More information about the aarch64-port-dev mailing list