gcc/libstdc++-v3
François Dumont d22eaeca76 libstdc++: Use RAII to replace try/catch blocks
Move _Guard into std::vector declaration and use it to guard all calls to
vector _M_allocate.

Doing so the compiler has more visibility on what is done with the pointers
and do not raise anymore the -Wfree-nonheap-object warning.

libstdc++-v3/ChangeLog:

	* include/bits/vector.tcc (_Guard): Move all the nested duplicated class...
	* include/bits/stl_vector.h (_Guard_alloc): ...here and rename.
	(_M_allocate_and_copy): Use latter.
	(_M_initialize_dispatch): Small code simplification.
	(_M_range_initialize): Likewise and set _M_finish first from the result
	of __uninitialize_fill_n_a that can throw.
2024-05-29 16:42:50 +02:00
..
config libstdc++: Update powerpc-linux-gnu baseline_symbols 2024-05-03 13:14:13 +02:00
doc libstdc++: Document when std::string::shrink_to_fit was added 2024-05-14 14:30:01 +01:00
include libstdc++: Use RAII to replace try/catch blocks 2024-05-29 16:42:50 +02:00
libsupc++
po
python
scripts libstdc++: Rename man pages to use '::' instead of '_' 2024-04-25 18:38:44 +01:00
src libstdc++: Build libbacktrace and 19_diagnostics/stacktrace with -funwind-tables [PR111641] 2024-05-29 10:08:07 +02:00
testsuite libstdc++: Build libbacktrace and 19_diagnostics/stacktrace with -funwind-tables [PR111641] 2024-05-29 10:08:07 +02:00
acinclude.m4 libstdc++: detect DLLs on windows with <stacktrace> 2024-05-17 14:45:19 +01:00
aclocal.m4
ChangeLog Daily bump. 2024-05-24 00:17:25 +00:00
ChangeLog-1998
ChangeLog-1999
ChangeLog-2000
ChangeLog-2001
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013
ChangeLog-2014
ChangeLog-2015
ChangeLog-2016
ChangeLog-2017
ChangeLog-2018
ChangeLog-2019
ChangeLog-2020
ChangeLog-2021
ChangeLog-2022
ChangeLog-2023
config.h.in libstdc++: detect DLLs on windows with <stacktrace> 2024-05-17 14:45:19 +01:00
configure libstdc++: detect DLLs on windows with <stacktrace> 2024-05-17 14:45:19 +01:00
configure.ac
configure.host Fix up duplicated words mostly in comments, part 1 2024-04-02 13:39:11 +02:00
crossconfig.m4
fragment.am
linkage.m4
Makefile.am
Makefile.in
README

file: libstdc++-v3/README

New users may wish to point their web browsers to the file
index.html in the 'doc/html' subdirectory.  It contains brief
building instructions and notes on how to configure the library in
interesting ways.