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: 
> #11858, the mentioned HotSpot code looks fine and this looks like a GCC-12 
> suprious warning. So we intend to think that it should be a GCC bug.
> 
> I think it's better to disabling the stringop-overflow warnings for the 
> affected files like you do in this PR.

@RealFYang Thanks for mentioning this! I did try to find other similar issues 
but I somehow missed it. Yeah, I also looked at the code and I didn't see 
anything obvious. Also, in the case I'm looking at, I don't think there's 
anything RISC-V-specific?

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

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

Reply via email to