On Wed, 6 Sep 2023 14:29:56 GMT, Antonios Printezis <to...@openjdk.org> wrote:

> The build failure happens when building on RISC-V with GCC 12.3. Is there a 
> better way to address this than disabling the stringop-overflow warnings for 
> the two files in question?

Hi, I once created a similar JBS issue and provided a workaround for this 
problem: https://bugs.openjdk.org/browse/JDK-8299580. As discussed on PR: 
https://github.com/openjdk/jdk/pull/11858, the mentioned HotSpot code looks 
fine and this looks like a GCC-12 suprious warning. And we intend to think that 
it should be a GCC bug. 

But I think it's better to disabling the stringop-overflow warnings for the 
affected files like you do in this PR.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/15593#issuecomment-1709338170

Reply via email to