https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125236
--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by David Malcolm <[email protected]>: https://gcc.gnu.org/g:ccfcabc847eaeb6c1e0b0bec5a12c8af649c8de0 commit r17-627-gccfcabc847eaeb6c1e0b0bec5a12c8af649c8de0 Author: David Malcolm <[email protected]> Date: Wed May 20 10:24:40 2026 -0400 testsuite: add some libstdc++ -fanalyzer test coverage (PR 125236) This patch adds some test coverage for -fanalyzer's handling of basic usage of libstdc++ to g++.dg/analyzer/torture, providing end-to-end testing of the interaction of -fanalyzer and libstdc++ at various optimization levels. Currently this is rather minimal (to ensure the tests pass). I'm working on debugging -fanalyzer issues with other usage patterns and hope to extend this further as more start working. gcc/testsuite/ChangeLog: PR analyzer/125236 * g++.dg/analyzer/torture/README.txt: New. * g++.dg/analyzer/torture/std-string-ctor-large-literal.C: New test. * g++.dg/analyzer/torture/std-string-ctor-small-literal.C: New test. * g++.dg/analyzer/torture/std-string-default-ctor.C: New test. * g++.dg/analyzer/torture/std-unique-ptr-1.C: New test. Signed-off-by: David Malcolm <[email protected]>
