RFR: 8320212: Disable GCC stringop-overflow warning for affected files

Mikael Vidstedt mikael at openjdk.org
Fri Nov 17 18:06:30 UTC 2023


On Fri, 17 Nov 2023 15:36:29 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:

> Looks okay from a build perspective. In the end, I guess some hotspot developers need to weigh in if this is acceptable.
> 
> I presume you have tried to analyze what makes the Thread:current access different in these files, so that gcc only complains at these instances?

Indeed, I spent quite a lot of time trying to understand what makes these specific files (cases/places) special but in the end had to give up. If there is a pattern I can't spot it.

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

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


More information about the build-dev mailing list