]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
c++: add missing -fabi-version docs
authorJason Merrill <jason@redhat.com>
Thu, 1 May 2025 20:04:29 +0000 (16:04 -0400)
committerJason Merrill <jason@redhat.com>
Thu, 1 May 2025 20:43:55 +0000 (16:43 -0400)
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.

gcc/common.opt
gcc/doc/invoke.texi

index 3edc5907ec854703b4a79228f7b1eec734f29b01..8a5b69d0767c68ad025ee73a7533dd4f9255b770 100644 (file)
@@ -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
index d1925c98c2f34b0699b35f31d9aebce19195e61d..e7a9a03bace58e581cffab726b73994136f1c1e9 100644 (file)
@@ -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