Landing: 2bb0802bf844

Project / Subsystem

gcc / gcc/testsuite

Date

2026-08-21

Author

Patrick Palka

Commit

2bb0802bf844915658a87595aaa186d2ed787006

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc/testsuite
patch_id
—
commit_hash
2bb0802bf844915658a87595aaa186d2ed787006
source_type
github
headline
c++: Fix portability of initlist135.C testcase
tldr
C++ testsuite fix replaces inline initializer_list definition with standard include.
author
Patrick Palka
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • c++
  • • testsuite
  • • portability
discussion_id_link
—
bugzilla_pr
—
date
2026-08-21T00:00:00.000Z

A C++ test case (cpp0x/initlist135.C) that defined std::initializer_list inline has been fixed. This inline definition caused issues on the i686 architecture due to over-reduction of the original test case. The fix replaces the inline definition with a standard #include <initializer_list>, ensuring portability and correct behavior.