gcc/libstdc++-v3
Jonathan Wakely fab60eaa94
libstdc++: Extend std::equal memcmp optimization to std::byte [PR101485]
We optimize std::equal to memcmp for integers and pointers, which means
that std::byte comparisons generate bigger code than char comparisons.

We can't use memcmp for arbitrary enum types, because they could have an
overloaded operator== that has custom semantics, but we know that
std::byte doesn't do that.

libstdc++-v3/ChangeLog:

	PR libstdc++/101485
	* include/bits/stl_algobase.h (__equal_aux1): Check for
	std::byte as well.
	* testsuite/25_algorithms/equal/101485.cc: New test.
2024-06-28 20:19:02 +01:00
..
config libstdc++: Fix std::codecvt<wchar_t, char, mbstate_t> for empty dest [PR37475] 2024-06-27 12:02:17 +01:00
doc libstdc++: Replace viewcvs links in docs with cgit links 2024-06-25 22:51:33 +01:00
include libstdc++: Extend std::equal memcmp optimization to std::byte [PR101485] 2024-06-28 20:19:02 +01:00
libsupc++ libstdc++: Make std::type_info::operator== always_inline for C++23 [PR110572] 2024-06-14 15:24:14 +01:00
po Update copyright years. 2024-01-03 12:19:35 +01:00
python libstdc++: Implement C++26 std::text_encoding (P1885R12) [PR113318] 2024-01-17 11:49:11 +00:00
scripts libstdc++: Add script to update docs for a new release branch 2024-06-26 21:15:14 +01:00
src libstdc++: Fix std::chrono::tzdb to work with vanguard format 2024-06-26 21:04:18 +01:00
testsuite libstdc++: Extend std::equal memcmp optimization to std::byte [PR101485] 2024-06-28 20:19:02 +01:00
acinclude.m4 libstdc++: detect DLLs on windows with <stacktrace> 2024-05-17 14:45:19 +01:00
aclocal.m4
ChangeLog Daily bump. 2024-06-28 00:18:04 +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 Rotate ChangeLog files. 2024-01-03 11:29:39 +01:00
config.h.in libstdc++: detect DLLs on windows with <stacktrace> 2024-05-17 14:45:19 +01:00
configure [libstdc++-v3] [rtems] enable filesystem support 2024-05-30 04:01:15 -03:00
configure.ac [libstdc++-v3] [rtems] enable filesystem support 2024-05-30 04:01:15 -03:00
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 libstdc++: Remove handling for underscore-prefixed libm functions [PR111638] 2023-11-11 00:41:08 +00:00
Makefile.am Update copyright years. 2024-01-03 12:19:35 +01:00
Makefile.in Allow overriding EXPECT 2023-12-22 10:24:56 +00:00
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.