Landing: 08ede4fbbe6d

Project / Subsystem

gcc / gcc/cp

Date

2026-08-04

Author

Iain Sandoe

Commit

08ede4fbbe6d38e08bcc72c4df2cf6720b9f4717

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc/cp
patch_id
—
commit_hash
08ede4fbbe6d38e08bcc72c4df2cf6720b9f4717
source_type
github
headline
C++/Objective-C++: Stop claiming support for Clang modules.
tldr
GCC no longer claims support for Clang's modules, resolving macOS build failures.
author
Iain Sandoe
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • c++
  • • modules
  • • build
discussion_id_link
—
bugzilla_pr
—
date
2026-08-04T00:00:00.000Z

GCC previously claimed support for Clang’s modules, a feature tightly coupled with Clang’s internal AST and not compatible with GCC’s architecture. This misrepresentation caused build failures on macOS by affecting header declaration ordering. By removing this claim, GCC aims for parity with builds that do not use the -fmodules flag, aligning with the C++20 modules standard which uses a different feature test macro.