Landing: 89c1412dfc26

Project / Subsystem

gcc / gcc/c++

Date

2026-08-12

Author

Jakub Jelinek

Commit

89c1412dfc26d141a6d8732b269c3e30eff44613

Source

github

Perf win

No

Breaking

Yes

All attributes

project
gcc
subsystem
gcc/c++
patch_id
—
commit_hash
89c1412dfc26d141a6d8732b269c3e30eff44613
source_type
github
headline
Alignof (decltype (^^::)) changed to alignof (void *).
tldr
Corrected alignment of `std::meta::info` type in C++ reflection.
author
Jakub Jelinek
outcome
committed
performance_win
false
breaking_change
true
series_id
—
series_parts
[]
tags
  • • c++
  • • reflection
  • • abi
  • • alignment
discussion_id_link
—
bugzilla_pr
—
date
2026-08-12T00:00:00.000Z

The alignment of std::meta::info in C++ reflection has been corrected to match alignof(void*) instead of the previous incorrect value of 1. This change impacts the alignof(decltype(^^::)) expression, ensuring consistent ABI behavior for reflection metadata, particularly for C++26 experimental features.