Landing: 9175c2da980b

Project / Subsystem

gcc / libstdc++

Date

2026-08-18

Author

Tomasz Kamiński

Commit

9175c2da980b044ab2909dd3c16f0e0595791688

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
libstdc++
patch_id
—
commit_hash
9175c2da980b044ab2909dd3c16f0e0595791688
source_type
github
headline
libstdc++: Adjust message checks for mdspan negative tests
tldr
Test suite messages for C++ mdspan negative tests are updated to correctly reflect static assertion failures.
author
Tomasz Kamiński
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • c++
  • • testsuite
discussion_id_link
—
bugzilla_pr
—
date
2026-08-18T00:00:00.000Z

This commit adjusts the expected error messages in the libstdc++ test suite for mdspan negative tests. The changes focus on accurately reflecting that errors arise from static_assertion failures during template instantiation, rather than during evaluation in an expanded context. This ensures the test suite correctly validates error reporting for compile-time checks related to mdspan layouts and submdspan canonical slices.