Landing: 4280cb5cb384
Project / Subsystem
gcc / testsuite
Date
2026-06-07
Author
Richard Sandiford
Commit
4280cb5cb3847155350c62616bdc63d649903a65
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- testsuite
- patch_id
- —
- commit_hash
- 4280cb5cb3847155350c62616bdc63d649903a65
- source_type
- github
- headline
- Testsuite automatically adds check_function_bodies options
- tldr
- GCC's testsuite now automatically includes the necessary `check_function_bodies` option when a test uses the `check-function-bodies` directive, simplifying tes…
- author
- Richard Sandiford
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • testsuite
- • developer-experience
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-06-07T00:00:00.000Z
GCC test cases using check-function-bodies directives previously required an explicit dg-add-options check_function_bodies to function correctly. This often overlooked requirement has been automated. The testsuite’s dg-final now automatically adds the check_function_bodies option, streamlining the process of writing new tests that inspect function bodies and reducing common errors.