Landing: 59103a9ec2a5

Project / Subsystem

gcc / c++

Date

2026-06-08

Author

Jakub Jelinek

Commit

59103a9ec2a5f0168fb8ba3d08421fac6d111eaa

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
c++
patch_id
commit_hash
59103a9ec2a5f0168fb8ba3d08421fac6d111eaa
source_type
github
headline
C++: Add various missing auto_diagnostic_group sentinels
tldr
GCC's C++ frontend now includes numerous `auto_diagnostic_group` sentinels to improve diagnostic message grouping and clarity.
author
Jakub Jelinek
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • c++
  • diagnostics
  • refactor
discussion_id_link
bugzilla_pr
date
2026-06-08T00:00:00.000Z

This commit adds missing auto_diagnostic_group sentinels across various parts of GCC’s C++ frontend, including call.cc, constexpr.cc, and decl.cc. These sentinels ensure that a sequence of related diagnostic messages is properly grouped together, preventing them from being interspersed with unrelated warnings or errors. By improving the logical grouping of diagnostics, developers can more easily understand and address reported issues in their C++ code.