Landing: a502b86d14f3
Project / Subsystem
gcc / c++
Date
2026-08-01
Author
Jakub Jelinek
Commit
a502b86d14f3f839e1cc8c01126026ae5c301d55
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- c++
- patch_id
- —
- commit_hash
- a502b86d14f3f839e1cc8c01126026ae5c301d55
- source_type
- github
- headline
- C++: Rename constexpr metafunctions tracking flag.
- tldr
- Renames `metafns_called` to `state_dependent` in C++ constexpr evaluation context.
- author
- Jakub Jelinek
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • c++
- • constexpr
- • refactoring
- • compiler-internals
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-08-01T00:00:00.000Z
This change renames the metafns_called flag within GCC’s C++ compiler to state_dependent. This renaming aims to better reflect the flag’s purpose, which tracks whether constexpr evaluations are dependent on runtime state or exceptions. The associated comment is also updated to clarify its role concerning exceptions during constexpr evaluation. This is a code organization and clarity improvement.