Landing: 619b1f8b85d5
Project / Subsystem
gcc / gcc/c++
Date
2026-07-10
Author
Jakub Jelinek
Commit
619b1f8b85d54930c17c608698658ac7cd45e5f1
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gcc/c++
- patch_id
- —
- commit_hash
- 619b1f8b85d54930c17c608698658ac7cd45e5f1
- source_type
- github
- headline
- Stop advertising GNU trivial_abi attribute
- tldr
- GCC no longer advertises the __has_cpp_attribute (gnu::trivial_abi) feature.
- author
- Jakub Jelinek
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • c++
- • attribute
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-07-10T00:00:00.000Z
GCC will no longer advertise the __has_cpp_attribute(gnu::trivial_abi) feature for C++. While GCC recognizes gnu::trivial_abi to provide errors and suggest alternatives like [[clang::trivial_abi]] or __attribute__((trivial_abi)), it is not a standard C++ attribute that should be advertised via feature test macros.