Landing: e3e1c72649c3
Project / Subsystem
gcc / c++
Date
2026-07-24
Author
Jason Merrill
Commit
e3e1c72649c3a0b48af70f88bcd942c46b0d00ab
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- c++
- patch_id
- —
- commit_hash
- e3e1c72649c3a0b48af70f88bcd942c46b0d00ab
- source_type
- github
- headline
- c++: parse trivial DMI immediately [PR96645]
- tldr
- Parses simple non-static data member initializers earlier in C++ parsing.
- author
- Jason Merrill
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • c++
- • parsing
- • compiler-frontend
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-07-24T00:00:00.000Z
This commit advances the parsing of simple non-static data member initializers (NSDMI) in C++ to occur earlier, without waiting until the end of the outermost class scope. This change aligns with evolving C++ standards (CWG2335) and addresses PR96645. It enables immediate parsing for trivial initializers that do not involve name lookup, simplifying the parsing process.