Landing: ab087de8fd69

Project / Subsystem

gcc / libstdc++

Date

2026-07-22

Author

Jonathan Wakely

Commit

ab087de8fd6990dae01995a537ff4772d6282989

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
libstdc++
patch_id
commit_hash
ab087de8fd6990dae01995a537ff4772d6282989
source_type
github
headline
Libstdc++: std::variant test requires C++17.
tldr
Ensures a test for std::variant is compiled with C++17, as variant is a C++17 feature.
author
Jonathan Wakely
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • libstdc++
  • c++
  • testsuite
discussion_id_link
bugzilla_pr
date
2026-07-22T00:00:00.000Z

The test suite for std::variant in libstdc++ has been updated to explicitly require C++17. This ensures that the test, which uses functionality specific to C++17, is compiled with the correct standard, preventing potential test failures on older language standards.