aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2025-05-01 16:04:29 -0400
committerJason Merrill <jason@redhat.com>2025-05-01 16:43:55 -0400
commit87c4460024dadef0aa1c767be146ad3831857ebe (patch)
treeea67a6b6951634835f13928542d6c776aef9944f /gcc
parentb6d37ec1dd2a228d94e7b5b438f3aa53684316bc (diff)
downloadgcc-87c4460024dadef0aa1c767be146ad3831857ebe.zip
gcc-87c4460024dadef0aa1c767be146ad3831857ebe.tar.gz
gcc-87c4460024dadef0aa1c767be146ad3831857ebe.tar.bz2
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.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/common.opt2
-rw-r--r--gcc/doc/invoke.texi9
2 files changed, 8 insertions, 3 deletions
diff --git a/gcc/common.opt b/gcc/common.opt
index 3edc590..8a5b69d 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 d1925c9..e7a9a03 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