On Fri, 17 Nov 2023 00:31:36 GMT, Mikael Vidstedt <mik...@openjdk.org> wrote:

> In JDK-8319818 the stringop-overflow warnings were disabled for linux-aarch64 
> (fastdebug). With the changes in JDK-8319883 additional stringop-overflow 
> warnings are produced with GCC 13.2.0, this time for linux-x64-zero 
> (fastdebug). The warnings are related to GCC thinking JavaThread:current (and 
> Thread::current) may return nullptr where in fact they can't. I tried several 
> ways to convince GCC about this fact but in the end failed.
> 
> This change disables the warning for the affected files (only). I'm not in 
> love with that solution but I've run out of ideas at this point. An 
> alternative would be to disable the warning globally, which has its own set 
> of pros and cons.

Thank you for the reviews.

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

PR Comment: https://git.openjdk.org/jdk/pull/16702#issuecomment-1817138681

Reply via email to