Landing: 55bca2dd3891
Project / Subsystem
gcc / build
Date
2026-07-17
Author
Rainer Orth
Commit
55bca2dd38913274d6157fb2c7cd1edab0442c6d
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- build
- patch_id
- —
- commit_hash
- 55bca2dd38913274d6157fb2c7cd1edab0442c6d
- source_type
- github
- headline
- build: testsuite: Generate effective targets from auto-host.h
- tldr
- Streamlines testsuite effective target generation using host configuration macros.
- author
- Rainer Orth
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • build
- • testsuite
- • configuration
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-07-17T00:00:00.000Z
The GCC testsuite now generates its effective targets from auto-host.h, eliminating redundant checks and inconsistencies. A framework is introduced to automatically create check_effective_target_* procedures that mirror macros defined in auto-host.h. These definitions are read from et-static.def and processed to match the host configuration, ensuring consistency between the build environment and the tests. The changes also enhance the test_installed script to support different scenarios for using effective target definitions during installed testing.