Landing: 8d1f9ea82206

Project / Subsystem

gcc / testsuite

Date

2026-07-11

Author

Lewis Hyatt

Commit

8d1f9ea822060a4e77238a33d2eb6ef99991c3d1

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
testsuite
patch_id
commit_hash
8d1f9ea822060a4e77238a33d2eb6ef99991c3d1
source_type
github
headline
Testsuite adds option to augment LTO test configurations
tldr
New `dg-lto-additional-options` directive simplifies adding options to LTO test configurations.
author
Lewis Hyatt
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • lto
  • testsuite
  • testing
discussion_id_link
bugzilla_pr
date
2026-07-11T00:00:00.000Z

A new testsuite directive, dg-lto-additional-options, has been introduced to simplify the process of adding specific compiler flags to existing LTO test configurations. Previously, overriding options with dg-lto-options removed default configurations, making it cumbersome to add flags like -Wall. This new directive allows augmenting the default set of options, proving useful for testing features like LTO diagnostic pragmas.