Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c37c47affa469ed0fce9711a3ed6927e65936661
https://github.com/WebKit/WebKit/commit/c37c47affa469ed0fce9711a3ed6927e65936661
Author: Fujii Hironori <[email protected]>
Date: 2026-01-01 (Thu, 01 Jan 2026)
Changed paths:
M LayoutTests/platform/glib/TestExpectations
M Source/WTF/wtf/RefCountedWithInlineWeakPtr.h
M Tools/TestWebKitAPI/glib/TestExpectations.json
Log Message:
-----------
RefCountedWithInlineWeakPtr doesn't work in GCC Release builds
https://bugs.webkit.org/show_bug.cgi?id=304549
Reviewed by Nikolas Zimmermann.
GCC eliminates `m_strongCount = 0` in ~RefCountedWithInlineWeakPtrBase. Use
`volatile` to prevent GCC from eliminating the code.
This is not a GCC bug. The future versions of other compilers can employ the
same optimization.
* LayoutTests/platform/glib/TestExpectations:
* Source/WTF/wtf/RefCountedWithInlineWeakPtr.h:
* Tools/TestWebKitAPI/glib/TestExpectations.json:
Canonical link: https://commits.webkit.org/305035@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications