Zero builds with GCC 15.2 still fail after JDK-8391235. That fix only moved RegionPromotionStats::update() out of the header; GCC still inlines it in the same translation unit through get_region(), which may return null, into linux_zero's __atomic_load and misreports a stringop-overflow.
This is the same GCC false positive worked around for shenandoahGenerationalHeap.cpp (JDK-8382395), safepointMechanism.cpp (JDK-8382522) and shenandoahHeap.cpp (JDK-8390033). Disable the warning for the affected file. --------- - [x] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). ------------- Commit messages: - 8391988: Disable stringop-overflow in shenandoahInPlacePromoter.cpp Changes: https://git.openjdk.org/jdk/pull/32832/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=32832&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8391988 Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod Patch: https://git.openjdk.org/jdk/pull/32832.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/32832/head:pull/32832 PR: https://git.openjdk.org/jdk/pull/32832
