Landing: 7c459132de47

Project / Subsystem

gcc / c++

Date

2026-08-31

Author

Jakub Jelinek

Commit

7c459132de478dbede44e323e195073e8d2bca55

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
c++
patch_id
—
commit_hash
7c459132de478dbede44e323e195073e8d2bca55
source_type
github
headline
Fix mangling of aggregates containing std::meta::info
tldr
Corrected C++ name mangling for aggregates with std::meta::info members.
author
Jakub Jelinek
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • c++
  • • mangling
  • • reflection
discussion_id_link
—
bugzilla_pr
—
date
2026-08-31T00:00:00.000Z

A C++ compiler ICE (Internal Compiler Error) occurred during name mangling for aggregate initializers containing std::meta::info types. This commit fixes two issues: it prevents build_zero_cst from being used incorrectly for skipped members of std::meta::info type, instead using get_null_reflection(), and ensures that aggregates with identical zero-initialized members are mangled identically, regardless of whether members are explicitly listed or skipped.