From: Jason Merrill Date: Thu, 1 May 2025 20:04:29 +0000 (-0400) Subject: c++: add missing -fabi-version docs X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=87c4460024dadef0aa1c767be146ad3831857ebe;p=thirdparty%2Fgcc.git 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 --git a/gcc/common.opt b/gcc/common.opt index 3edc5907ec8..8a5b69d0767 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 diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index d1925c98c2f..e7a9a03bace 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