Landing: ccfcabc847ea

Project / Subsystem

gcc / testsuite

Date

2026-05-20

Author

David Malcolm

Commit

ccfcabc847eaeb6c1e0b0bec5a12c8af649c8de0

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
testsuite
patch_id
commit_hash
ccfcabc847eaeb6c1e0b0bec5a12c8af649c8de0
source_type
github
headline
Add libstdc++ -fanalyzer Test Coverage
tldr
Added minimal test coverage for `-fanalyzer`'s handling of basic libstdc++ usage, providing end-to-end testing of the interaction between the static analyzer a…
author
David Malcolm
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • testsuite
  • analyzer
  • libstdc++
  • c++
discussion_id_link
github:gcc-mirror/gcc#125236
bugzilla_pr
date
2026-05-20T00:00:00.000Z

This commit adds new tests to verify that the -fanalyzer flag works correctly with basic libstdc++ usage. These tests cover scenarios like std::string construction and std::unique_ptr to improve end-to-end testing of the analyzer’s interaction with the C++ standard library. More tests will be added to cover other usages as issues are debugged.