Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 73da1e5722c9c299034ea3d18d8ea8fa87e1f2b1
https://github.com/WebKit/WebKit/commit/73da1e5722c9c299034ea3d18d8ea8fa87e1f2b1
Author: Claudio Saavedra <[email protected]>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M Source/WTF/wtf/Variant.h
Log Message:
-----------
Work around GCC 14+ false -Wuninitialized in Variant
https://bugs.webkit.org/show_bug.cgi?id=317745
Reviewed by Nikolas Zimmermann.
GCC 14 through 16 report mpark variant's index_ as used uninitialized when
valueless_by_exception()/index() inline into
HashMap<GenericHashKey<...>, ...>::remove(), even though index_ is set by
every base constructor. This breaks --fatal-warnings builds (e.g. Ubuntu
26.04 / GCC 15). Suppress -Wuninitialized around the two accessors on GCC;
clang and GCC <= 13 are unaffected.
* Source/WTF/wtf/Variant.h:
Canonical link: https://commits.webkit.org/315766@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications