gcc/libstdc++-v3/python
Jonathan Wakely 75ef21665c
libstdc++: Do not use std::vector<bool>::reference default ctor [PR115098]
This default constructor was made private by r15-3124-gb25b101bc38000 so
the pretty printer tests need a fix to stop using it. There's no
conforming way to get a default-constructed 'reference' now, e.g. trying
to access an element of a default-constructed std::vector<bool> will
trigger an assertion. Remove the tests, but leave a comment in the
printer code about handling it.

libstdc++-v3/ChangeLog:

	PR libstdc++/115098
	* python/libstdcxx/v6/printers.py (StdBitReferencePrinter): Add
	comment.
	* testsuite/libstdc++-prettyprinters/simple.cc: Do not default
	construct std::vector<bool>::reference.
	* testsuite/libstdc++-prettyprinters/simple11.cc: Likewise.
2024-08-27 14:20:13 +01:00
..
libstdcxx libstdc++: Do not use std::vector<bool>::reference default ctor [PR115098] 2024-08-27 14:20:13 +01:00
Makefile.am Update copyright years. 2024-01-03 12:19:35 +01:00
Makefile.in libstdc++: Fix installation of python files for debug lib 2022-11-14 15:59:50 +00:00
hook.in Update copyright years. 2024-01-03 12:19:35 +01:00