https://gcc.gnu.org/g:87c4460024dadef0aa1c767be146ad3831857ebe
commit r16-335-g87c4460024dadef0aa1c767be146ad3831857ebe Author: Jason Merrill <ja...@redhat.com> Date: Thu May 1 16:04:29 2025 -0400 c++: add missing -fabi-version docs Looks like I've forgotten to update the docs for -fabi-version for a couple of my changes. gcc/ChangeLog: * doc/invoke.texi: Add -fabi-version detail. * common.opt: Likewise. Diff: --- gcc/doc/invoke.texi | 9 +++++++-- gcc/common.opt | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index d1925c98c2f3..e7a9a03bace5 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -3006,12 +3006,17 @@ in C++14 and up. Version 18, which first appeared in G++ 13, fixes manglings of lambdas that have additional context. -Version 19, which first appeared in G++ 14, fixes manglings of structured -bindings to include ABI tags. +Version 19, which first appeared in G++ 14, fixes manglings of +structured bindings to include ABI tags, handling of cv-qualified +[[no_unique_address]] members, and adds mangling of C++20 constraints +on function templates. Version 20, which first appeared in G++ 15, fixes manglings of lambdas in static data member initializers. +Version 21, which first appeared in G++ 16, fixes unnecessary captures +in noexcept lambdas (c++/119764). + See also @option{-Wabi}. @opindex fabi-compat-version diff --git a/gcc/common.opt b/gcc/common.opt index 3edc5907ec85..8a5b69d0767c 100644 --- a/gcc/common.opt +++ b/gcc/common.opt @@ -1055,7 +1055,7 @@ Driver Undocumented ; 20: Fix mangling of lambdas in static data member initializers. ; Default in G++ 15. ; -; 21: +; 21: Fix noexcept lambda capture pruning. ; Default in G++ 16. ; ; Additional positive integers will be assigned as new versions of