Landing: e36fef054c03

Project / Subsystem

gcc / libstdc++

Date

2026-09-10

Author

Tomasz Kamiński

Commit

e36fef054c03112a4cd20a6ff0a3b3533c41f2b5

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
libstdc++
patch_id
—
commit_hash
e36fef054c03112a4cd20a6ff0a3b3533c41f2b5
source_type
github
headline
libstdc++: Fix value-initialization for _Hashtable_ebo_helper members
tldr
libstdc++: Resolves a regression in unordered containers by correctly value-initializing EBO helper members.
author
Tomasz Kamiński
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • libstdc++
  • • unordered_map
  • • bugfix
  • • C++
discussion_id_link
—
bugzilla_pr
—
date
2026-09-10T00:00:00.000Z

A regression in libstdc++‘s unordered containers has been fixed by properly value-initializing members of _Hashtable_ebo_helper. Previously, aggregate initialization with {} was ill-formed when members had explicit default constructors, breaking support for custom hashers, equality predicates, and allocators. This patch uses Type() syntax for value-initialization, ensuring correct initialization of all aggregate members and invocation of default constructors.