Landing: 01eef394913b

Project / Subsystem

gcc / gcc/libstdc++

Date

2026-06-30

Author

Anlai Lu

Commit

01eef394913bd5d682dc5eec9c45e87dabf4d8a3

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc/libstdc++
patch_id
commit_hash
01eef394913bd5d682dc5eec9c45e87dabf4d8a3
source_type
github
headline
Add stream state tests for chrono operator<<
tldr
New tests verify chrono operator<< preserves stream state and formatting across various alignments.
author
Anlai Lu
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • libstdc++
  • testsuite
  • chrono
discussion_id_link
bugzilla_pr
date
2026-06-30T00:00:00.000Z

A new test suite has been added for libstdc++‘s chrono operator<< overloads, specifically focusing on formatted output semantics. These tests ensure that the implementation correctly handles sentry construction, padding with different alignments, width reset, and locale-aware output. This rigorous testing aims to confirm the robustness of the stream output for time-related objects.