gcc-wwwdocs branch master updated. 8e626db7182e01ad09bdab91f6a83ecb2dbde4e3
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "gcc-wwwdocs". The branch, master has been updated via 8e626db7182e01ad09bdab91f6a83ecb2dbde4e3 (commit) from 3e9f71f2c5ae175b2a4b209156f2241fa0646381 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log - commit 8e626db7182e01ad09bdab91f6a83ecb2dbde4e3 Author: Jonathan Wakely Date: Mon Apr 22 11:03:07 2024 +0100 Improve grammar for AVR changes in GCC 14 diff --git a/htdocs/gcc-14/changes.html b/htdocs/gcc-14/changes.html index 4a9670fd..8dfbf7dc 100644 --- a/htdocs/gcc-14/changes.html +++ b/htdocs/gcc-14/changes.html @@ -782,13 +782,13 @@ a work-in-progress. AVR On AVR64* and AVR128* devices, read-only data is now located in program -memory per default and no more in RAM. +memory per default and no longer in RAM. Only a 32 KiB block of program memory can be used to store and access .rodata in that way. Which block is used can be selected - by defining symbol __flmap. + by defining the symbol __flmap. As an alternative, the byte address of the block can be specified - by symbol __RODATA_FLASH_START__ which takes + by the symbol __RODATA_FLASH_START__ which takes precedence over __flmap. For example, linking with -Wl,--defsym,__RODATA_FLASH_START__=32k @@ -801,9 +801,9 @@ a work-in-progress. href="https://github.com/avrdudes/avr-libc/issues/931";>#931 can be used. The latter initializes NVMCTRL_CTRLB.FLMAP in the startup code and according to the value - of __flmap resp. + of __flmap or __RODATA_FLASH_START__. - When AVR-LibC with #931 is used, then defining symbol + When AVR-LibC with #931 is used, then defining the symbol __flmap_lock to a non-zero value will set bit NVMCTRL_CTRLB.FLMAPLOCK. This will protect NVMCTRL_CTRLB.FLMAP from any further changes — @@ -812,7 +812,7 @@ a work-in-progress. can be used: __asm (".global __flmap_lock" "\n\t" "__flmap_lock = 1"); - When you do not want the code from #931, then define global + When you do not want the code from #931, then define a global symbol __do_flmap_init and the linker will not pull in that code from libmcu.a any more. In order to return to the old placement of read-only data in RAM, @@ -822,7 +822,7 @@ __asm (".global __flmap_lock" "\n\t" functionality. Read-only data is located in output section .rodata, - wheras it is part of .text when located in RAM. + whereas it is part of .text when located in RAM. The feature is only available when the compiler is configured with a version of Binutils that implements https://sourceware.org/PR31124";>PR31124, which is the @@ -870,7 +870,7 @@ __asm (".global __flmap_lock" "\n\t" On the Reduced Tiny devices, the meaning of register constraint "w" has been changed. -It containts now the registers R24…R31 like it is the case for all +It now constrains the registers R24…R31 as is the case for all the other devices. --- Summary of changes: htdocs/gcc-14/changes.html | 16 1 file changed, 8 insertions(+), 8 deletions(-) hooks/post-receive -- gcc-wwwdocs
gcc-wwwdocs branch master updated. ced576434ed310d0afee01d88d0c56f78b4d04c5
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "gcc-wwwdocs". The branch, master has been updated via ced576434ed310d0afee01d88d0c56f78b4d04c5 (commit) from d63b0ce2968ddaa335a679ba4595ca582ef76d6d (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log - commit ced576434ed310d0afee01d88d0c56f78b4d04c5 Author: Jonathan Wakely Date: Fri May 3 16:04:49 2024 +0100 Add caveat to GCC 14 release notes about C warnings-as-errors change diff --git a/htdocs/gcc-14/changes.html b/htdocs/gcc-14/changes.html index 46a0266d..82906de1 100644 --- a/htdocs/gcc-14/changes.html +++ b/htdocs/gcc-14/changes.html @@ -40,6 +40,11 @@ a work-in-progress. https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wflex-array-member-not-at-end";>-Wflex-array-member-not-at-end to identify all such cases in the source code and modify them. + C: + Certain warnings about are now errors, see + Porting to GCC 14 + for details. + https://gcc.gnu.org/onlinedocs/gcc/Instrumentation-Options.html";>-fcf-protection=[full|branch|return|none|check] is refactored, to override -fcf-protection, -fcf-protection=none needs to be added and then --- Summary of changes: htdocs/gcc-14/changes.html | 5 + 1 file changed, 5 insertions(+) hooks/post-receive -- gcc-wwwdocs
gcc-wwwdocs branch master updated. 8ee66061ef0ec3fb5593dc42cf04aaee1c5d5e1e
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "gcc-wwwdocs". The branch, master has been updated via 8ee66061ef0ec3fb5593dc42cf04aaee1c5d5e1e (commit) from 1aef08f66802bbddaf9a048a1840e26597e4f62e (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log - commit 8ee66061ef0ec3fb5593dc42cf04aaee1c5d5e1e Author: Ben Boeckel Date: Tue May 7 11:01:17 2024 +0100 gcc-14: document P1689R5 scanning output support diff --git a/htdocs/gcc-14/changes.html b/htdocs/gcc-14/changes.html index 2a4b2f12..ca5174de 100644 --- a/htdocs/gcc-14/changes.html +++ b/htdocs/gcc-14/changes.html @@ -515,6 +515,13 @@ You may also want to check out our GCC supports a new pragma #pragma GCC novector to indicate to the vectorizer not to vectorize the loop annotated with the pragma. + C++ module scanning for named modules is now available, based on the +format described in https://wg21.link/P1689R5";>P1689R5, +Format for describing dependencies of source files. +The -fdeps-format=, -fdeps-file=, and +-fdeps-target= flags may be used to generate dependency +information. In GCC 14 p1689r5 is the only valid argument +for -fdeps-format=. Runtime Library (libstdc++) --- Summary of changes: htdocs/gcc-14/changes.html | 7 +++ 1 file changed, 7 insertions(+) hooks/post-receive -- gcc-wwwdocs
gcc-wwwdocs branch master updated. 56edd34fc291a0b46a4eb15e0aa835953b1eab6c
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "gcc-wwwdocs". The branch, master has been updated via 56edd34fc291a0b46a4eb15e0aa835953b1eab6c (commit) from 16dcbb39b29818cad658879292a855cb481359ce (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log - commit 56edd34fc291a0b46a4eb15e0aa835953b1eab6c Author: Jonathan Wakely Date: Wed Aug 28 15:14:22 2024 +0100 Document libstdc++ changes in GCC 15 diff --git a/htdocs/gcc-15/changes.html b/htdocs/gcc-15/changes.html index d0d6d147..91c020dd 100644 --- a/htdocs/gcc-15/changes.html +++ b/htdocs/gcc-15/changes.html @@ -84,7 +84,24 @@ a work-in-progress. when parsing a template. - +Runtime Library (libstdc++) + + + Improved experimental support for C++26, including: + +views::concat. +Member visit. +Type-checking std::format args. + + + Improved experimental support for C++23, including: + + + Clarify handling of encodings in localized formatting of chrono types. + + + + --- Summary of changes: htdocs/gcc-15/changes.html | 19 ++- 1 file changed, 18 insertions(+), 1 deletion(-) hooks/post-receive -- gcc-wwwdocs
gcc-wwwdocs branch master updated. dcd642bf2074f34ae43ea7123eaf6743a6057abd
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "gcc-wwwdocs". The branch, master has been updated via dcd642bf2074f34ae43ea7123eaf6743a6057abd (commit) from 4662147a94753cf3803426c34151573dc2d1863a (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log - commit dcd642bf2074f34ae43ea7123eaf6743a6057abd Author: Jonathan Wakely Date: Wed Oct 9 14:00:11 2024 +0100 Document defining _GLIBCXX_ASSERTIONS for -O0 diff --git a/htdocs/gcc-15/changes.html b/htdocs/gcc-15/changes.html index ad0daf04..805a6703 100644 --- a/htdocs/gcc-15/changes.html +++ b/htdocs/gcc-15/changes.html @@ -93,6 +93,9 @@ a work-in-progress. Runtime Library (libstdc++) + Debug assertions are now enabled by default for unoptimized builds. +Use -D_GLIBCXX_NO_ASSERTIONS to override this. + Improved experimental support for C++26, including: views::concat. --- Summary of changes: htdocs/gcc-15/changes.html | 3 +++ 1 file changed, 3 insertions(+) hooks/post-receive -- gcc-wwwdocs
gcc-wwwdocs branch master updated. 17c61dd6dc25634cbb7e41747fcf15d78f44c89d
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "gcc-wwwdocs". The branch, master has been updated via 17c61dd6dc25634cbb7e41747fcf15d78f44c89d (commit) from 3c9e703a45f36113ace827463e6f0240fea334a2 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log - commit 17c61dd6dc25634cbb7e41747fcf15d78f44c89d Author: Jonathan Wakely Date: Wed Feb 5 14:47:39 2025 + Add some libstdc++ additions to GCC 15 release notes diff --git a/htdocs/gcc-15/changes.html b/htdocs/gcc-15/changes.html index 18484915..02f8752f 100644 --- a/htdocs/gcc-15/changes.html +++ b/htdocs/gcc-15/changes.html @@ -370,6 +370,13 @@ asm (".text; %cc0: mov %cc2, %%r0; .previous;" Improved experimental support for C++23, including: + + std and std.compat modules + (also supported for C++20). + + + std::flat_map and std::flat_set. + Clarify handling of encodings in localized formatting of chrono types. --- Summary of changes: htdocs/gcc-15/changes.html | 7 +++ 1 file changed, 7 insertions(+) hooks/post-receive -- gcc-wwwdocs
gcc-wwwdocs branch master updated. e70082a2a05cfc1d1c2944a066e89de59374d46c
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "gcc-wwwdocs". The branch, master has been updated via e70082a2a05cfc1d1c2944a066e89de59374d46c (commit) via 3062b292084326264d51833ba7a997718e6ffdc4 (commit) from 9a77c1a1eb9c35f015e40f7ed2871f967f87e111 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log - commit e70082a2a05cfc1d1c2944a066e89de59374d46c Author: Jonathan Wakely Date: Thu Jan 16 10:47:53 2025 + Document dependency changes for libstdc++ header diff --git a/htdocs/gcc-15/porting_to.html b/htdocs/gcc-15/porting_to.html index 2bc0d4e5..b9b2efc7 100644 --- a/htdocs/gcc-15/porting_to.html +++ b/htdocs/gcc-15/porting_to.html @@ -153,6 +153,9 @@ may need to be included explicitly when compiling with GCC 15: and(for std::int8_t, std::int32_t etc.) + +(for std::endl, std::flush etc.) + Deprecated headers commit 3062b292084326264d51833ba7a997718e6ffdc4 Author: Jonathan Wakely Date: Thu Jan 16 10:42:00 2025 + Document libstdc++ headers that are deprecated in GCC 15 diff --git a/htdocs/gcc-15/porting_to.html b/htdocs/gcc-15/porting_to.html index c446e309..2bc0d4e5 100644 --- a/htdocs/gcc-15/porting_to.html +++ b/htdocs/gcc-15/porting_to.html @@ -155,6 +155,17 @@ may need to be included explicitly when compiling with GCC 15: +Deprecated headers + +Some C++ Standard Library headers now produce deprecation warnings when +included. The warnings suggest how to adjust the code to avoid the warning, +for example all uses of and + can simply be removed, +because they serve no purpose and are unnecessary in C++ programs. +Most uses of can be adjusted to use + instead, and uses of +can use and/or . + --- Summary of changes: htdocs/gcc-15/porting_to.html | 14 ++ 1 file changed, 14 insertions(+) hooks/post-receive -- gcc-wwwdocs
gcc-wwwdocs branch master updated. 9a77c1a1eb9c35f015e40f7ed2871f967f87e111
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "gcc-wwwdocs". The branch, master has been updated via 9a77c1a1eb9c35f015e40f7ed2871f967f87e111 (commit) from 801f3ad85b22a5da5114bfb47d74c94033806f24 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log - commit 9a77c1a1eb9c35f015e40f7ed2871f967f87e111 Author: Jonathan Wakely Date: Wed Oct 9 18:42:29 2024 +0100 Document that gcc-8 changed the default to -std=gnu17 diff --git a/htdocs/gcc-8/changes.html b/htdocs/gcc-8/changes.html index c329a509..12db068a 100644 --- a/htdocs/gcc-8/changes.html +++ b/htdocs/gcc-8/changes.html @@ -24,6 +24,8 @@ You may also want to check out our Caveats + The default mode for C is now -std=gnu17 instead of +-std=gnu11. Support for the obsolete SDB/coff debug info format has been removed. The option -gcoff no longer does anything. @@ -536,6 +538,14 @@ $ gcc unclosed-2.c +C + +New options -std=c17, to select support for the 2018 +edition of the ISO C standard (__STDC_VERSION__ == 201710L), +and -std=gnu17, for C17 with GNU extensions. +The default mode has been changed to -std=gnu17. + + C++ GCC 8 (-fabi-version=12) has a couple of corrections to the calling --- Summary of changes: htdocs/gcc-8/changes.html | 10 ++ 1 file changed, 10 insertions(+) hooks/post-receive -- gcc-wwwdocs
gcc-wwwdocs branch master updated. 5f0d63fa2a1c45b1d7849dafca4e2a7dfcd1f0e4
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "gcc-wwwdocs". The branch, master has been updated via 5f0d63fa2a1c45b1d7849dafca4e2a7dfcd1f0e4 (commit) from bcc6e4bf6f0747bb264f0d1119655233046007e8 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log - commit 5f0d63fa2a1c45b1d7849dafca4e2a7dfcd1f0e4 Author: Jonathan Wakely Date: Fri Apr 4 10:11:06 2025 +0100 Document some more libstdc++ additions in gcc-15 diff --git a/htdocs/gcc-15/changes.html b/htdocs/gcc-15/changes.html index 3cec4ff4..3e3c6655 100644 --- a/htdocs/gcc-15/changes.html +++ b/htdocs/gcc-15/changes.html @@ -564,9 +564,24 @@ asm (".text; %cc0: mov %cc2, %%r0; .previous;" Debug assertions are now enabled by default for unoptimized builds. Use -D_GLIBCXX_NO_ASSERTIONS to override this. + +Associative containers and lists now use custom pointer +types internally, instead of only when interacting with their allocator. + Improved experimental support for C++26, including: -views::concat. +views::concat, views::to_input, + views::cache_latest. + + + Sorting algorithms and raw memory algorithms are constexpr + so can be used during constant evaluation. + + +and + headers. + +std::is_virtual_base_of type trait. Member visit. Type-checking std::format args. @@ -580,6 +595,14 @@ asm (".text; %cc0: mov %cc2, %%r0; .previous;" std::flat_map and std::flat_set. + + std::from_range_t constructors added to all containers, + as well as new member functions such as insert_range. + + + Formatting of ranges and tuples with std::format, + as well as string escaping for debug formats. + Clarify handling of encodings in localized formatting of chrono types. --- Summary of changes: htdocs/gcc-15/changes.html | 25 - 1 file changed, 24 insertions(+), 1 deletion(-) hooks/post-receive -- gcc-wwwdocs
gcc-wwwdocs branch master updated. bcc6e4bf6f0747bb264f0d1119655233046007e8
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "gcc-wwwdocs". The branch, master has been updated via bcc6e4bf6f0747bb264f0d1119655233046007e8 (commit) from 9e55d3a4d3db8659d9e6cb11d0dc85627c29d46f (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log - commit bcc6e4bf6f0747bb264f0d1119655233046007e8 Author: Jonathan Wakely Date: Fri Apr 25 11:10:47 2025 +0100 Update documentation URL in robots.txt diff --git a/htdocs/robots.txt b/htdocs/robots.txt index 01ae43dd..526fa1dd 100644 --- a/htdocs/robots.txt +++ b/htdocs/robots.txt @@ -1,4 +1,4 @@ -# See http://www.robotstxt.org/wc/robots.html +# See https://www.robotstxt.org/robotstxt.html # for information about the file format. # Contact g...@gcc.gnu.org for questions. --- Summary of changes: htdocs/robots.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/post-receive -- gcc-wwwdocs
gcc-wwwdocs branch master updated. c9590a1671e50c297bf3042e0d0b8345bec4f4a7
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "gcc-wwwdocs". The branch, master has been updated via c9590a1671e50c297bf3042e0d0b8345bec4f4a7 (commit) from 2c5290f0bb1c121ab5225099649dc37ff408de89 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log - commit c9590a1671e50c297bf3042e0d0b8345bec4f4a7 Author: Jonathan Wakely Date: Wed May 14 21:28:04 2025 +0100 Remove claims that the release timeline shows future releases The timeline hasn't shown any tentative dates for future releases since 2006-03-06 when GCC 3.4.6 was released and the tentative date got replaced with the real date. Since then only actual release dates have been added, on the day when the release happens. diff --git a/htdocs/develop.html b/htdocs/develop.html index d0ae36bd..f4625817 100644 --- a/htdocs/develop.html +++ b/htdocs/develop.html @@ -298,7 +298,7 @@ number carried little to no useful information. Release Timeline -Here is a history of recent and a tentative timeline of upcoming +Here is a timeline of historical stages of development, branch points, and releases: diff --git a/htdocs/releases.html b/htdocs/releases.html index 56f73ca5..13a086c5 100644 --- a/htdocs/releases.html +++ b/htdocs/releases.html @@ -28,8 +28,8 @@ binaries. for various platforms. GCC Timeline The table is sorted by date. Please refer to our -development plan for future -releases and an alternative view of the release history. +development plan for +an alternative view of the release history. ReleaseRelease date --- Summary of changes: htdocs/develop.html | 2 +- htdocs/releases.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) hooks/post-receive -- gcc-wwwdocs
gcc-wwwdocs branch master updated. 0dcbe939ef69f9e5088d895bbf6ea93c6685137d
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "gcc-wwwdocs". The branch, master has been updated via 0dcbe939ef69f9e5088d895bbf6ea93c6685137d (commit) from 75e545b42f47f3486d13f09b4afbfe0abffe71db (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log - commit 0dcbe939ef69f9e5088d895bbf6ea93c6685137d Author: Jonathan Wakely Date: Fri May 23 12:48:56 2025 +0100 Add anchor to new link to GCC 15 notes diff --git a/htdocs/gcc-14/porting_to.html b/htdocs/gcc-14/porting_to.html index e8c2869b..004da7a5 100644 --- a/htdocs/gcc-14/porting_to.html +++ b/htdocs/gcc-14/porting_to.html @@ -567,8 +567,9 @@ In GCC 14.3 std::vector has been extended so that the vector(InputIterator, InputIterator) constructor recognizes iterators that satisfy the C++20 iterator concepts, such as std::random_access_iterator. -See Porting to GCC 15 for some caveats -regarding compatibility with C++17-style iterators, and how to fix them. +See Porting to GCC 15 +for some caveats regarding compatibility with C++17-style iterators, +and how to fix them. --- Summary of changes: htdocs/gcc-14/porting_to.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) hooks/post-receive -- gcc-wwwdocs
gcc-wwwdocs branch master updated. dd2acc3eb79baf2605c412882a10a87eda846c01
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "gcc-wwwdocs". The branch, master has been updated via dd2acc3eb79baf2605c412882a10a87eda846c01 (commit) from d16cc27c78f5ab71a720e40ea9eee1f712f81351 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log - commit dd2acc3eb79baf2605c412882a10a87eda846c01 Author: Jonathan Wakely Date: Fri May 23 12:32:53 2025 +0100 Add notes about C++20 iterator concepts and std::vector diff --git a/htdocs/gcc-14/porting_to.html b/htdocs/gcc-14/porting_to.html index 2d8eaf3a..e8c2869b 100644 --- a/htdocs/gcc-14/porting_to.html +++ b/htdocs/gcc-14/porting_to.html @@ -561,6 +561,16 @@ needs to be performed in a new user-defined macro. arithmetic support of these types instead of __FLT16_MAX__(or other similar Macros). +C++20 iterator support in std::vector + +In GCC 14.3 std::vector has been extended so that +the vector(InputIterator, InputIterator) constructor recognizes +iterators that satisfy the C++20 iterator concepts, such as +std::random_access_iterator. +See Porting to GCC 15 for some caveats +regarding compatibility with C++17-style iterators, and how to fix them. + + diff --git a/htdocs/gcc-15/porting_to.html b/htdocs/gcc-15/porting_to.html index db540a9f..74de44f2 100644 --- a/htdocs/gcc-15/porting_to.html +++ b/htdocs/gcc-15/porting_to.html @@ -173,6 +173,67 @@ Most uses ofcan be adjusted to use can use and/or . +C++20 iterator support in std::vector + +In GCC 15.1 (and GCC 14.3) std::vector has been extended so that +the vector(InputIterator, InputIterator) constructor recognizes +iterators that satisfy the C++20 iterator concepts, such as +std::random_access_iterator. This can give significant performance +improvements for some types of iterator which satisfy the new C++20 concepts +but which were only considered to be a Cpp17InputIterator under the +rules of C++17 (and earlier standards). However, it can also cause problems +for iterator adaptors or iterator facades implemented as templates that wrap +another iterator class. + + +If an adaptor template declares all the possible operators supported for any +iterator category (e.g. operator--, operator+, +operator[], etc.) but does not constrain those operators to only +be present when the wrapped iterator supports them, then the C++20 standard +library will incorrectly deduce that the adaptor satisfies the new C++20 +iterator concepts. This means the library might attempt to use +operator-- on a non-bidirectional iterator, +or operator[] on a non-random access iterator, resulting in +compilation errors. + + +Code which encounters these errors should be fixed by constraining the iterator +adaptors using concepts (or std::enable_if) so that the operator +functions don't appear to be usable unless they will actually compile. +For example, the following additions could be used to prevent +IteratorAdaptor from looking like it supports +operator--, operator[], and operator- +when Iter doesn't support those: + +template +class IteratorAdaptor +{ + Iter m_iter; // The underlying iterator that is being adapted. + +public: + // ... + + IteratorAdaptor& operator--() +#ifdef __cpp_lib_ranges + requires std::bidirectional_iterator +#endif + { --m_iter; return *this; } + + reference operator[](difference_type n) const +#ifdef __cpp_lib_ranges + requires std::random_access_iterator +#endif + { return m_iter[n]; } + + friend difference_type operator-(const IteratorAdaptor& lhs, const IteratorAdaptor& rhs) +#ifdef __cpp_lib_ranges + requires std::sized_sentinel_for +#endif + { return lhs.m_iter - rhs.m_iter; } +}; + + + --- Summary of changes: htdocs/gcc-14/porting_to.html | 10 +++ htdocs/gcc-15/porting_to.html | 61 +++ 2 files changed, 71 insertions(+) hooks/post-receive -- gcc-wwwdocs
gcc-wwwdocs branch master updated. 9a05fb992d639231f082f0c6455c9d25bb6ff55f
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "gcc-wwwdocs". The branch, master has been updated via 9a05fb992d639231f082f0c6455c9d25bb6ff55f (commit) from a141ba3a4a2ebe3a66f217fd19661e412dfc92f5 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log - commit 9a05fb992d639231f082f0c6455c9d25bb6ff55f Author: Jonathan Wakely Date: Wed Jul 9 13:51:30 2025 +0100 Add some C++23 and C++26 library features to GCC 16 release notes Also thank Tomasz for std::format range support in GCC 15 diff --git a/htdocs/gcc-15/changes.html b/htdocs/gcc-15/changes.html index bf980491..23632d41 100644 --- a/htdocs/gcc-15/changes.html +++ b/htdocs/gcc-15/changes.html @@ -679,7 +679,7 @@ asm (".text; %cc0: mov %cc2, %%r0; .previous;" Formatting of ranges and tuples with std::format, - as well as string escaping for debug formats. + as well as string escaping for debug formats, thanks to Tomasz KamiÅski. Clarify handling of encodings in localized formatting of chrono types. diff --git a/htdocs/gcc-16/changes.html b/htdocs/gcc-16/changes.html index 99644758..cc6fe204 100644 --- a/htdocs/gcc-16/changes.html +++ b/htdocs/gcc-16/changes.html @@ -75,7 +75,26 @@ for general information. C++ - +Runtime Library (libstdc++) + + + Improved experimental support for C++26, including: + + + std::copyable_function and std::function_ref. + +std::indirect and std::polymorphic. + + std::owner_equal for shared pointers, thanks to Paul Keir. + + + + Improved experimental support for C++23, including: + +std::mdspan, thanks to Luc Grosheintz. + + + --- Summary of changes: htdocs/gcc-15/changes.html | 2 +- htdocs/gcc-16/changes.html | 21 - 2 files changed, 21 insertions(+), 2 deletions(-) hooks/post-receive -- gcc-wwwdocs
gcc-wwwdocs branch master updated. 315f22a7d7a4e600dad9f32b1bae4aae54a14281
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "gcc-wwwdocs". The branch, master has been updated via 315f22a7d7a4e600dad9f32b1bae4aae54a14281 (commit) from 6eeda04c95cb72e5335450c0aa19166a91629503 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log - commit 315f22a7d7a4e600dad9f32b1bae4aae54a14281 Author: Jonathan Wakely Date: Sun Jul 13 17:27:39 2025 +0100 Remove contribute.html text about including ChangeLog in the patch diff --git a/htdocs/contribute.html b/htdocs/contribute.html index 3ab65323..4dfb186d 100644 --- a/htdocs/contribute.html +++ b/htdocs/contribute.html @@ -254,9 +254,8 @@ the Linux kernel documentation for ways to work around this. (Everything listed here still applies if you can check in the patch without further approval under the GCC write access policies, except -that ChangeLog entries may be included as part of the patch and diffs -representing new files may be omitted, especially if large, since they +href="gitwrite.html#policies">GCC write access policies, except that +diffs representing new files may be omitted, especially if large, since they can be accessed directly from the repository.) E-mail subject lines --- Summary of changes: htdocs/contribute.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) hooks/post-receive -- gcc-wwwdocs