Tested x86_64-pc-linux-gnu, applying to trunk. -- 8< --
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/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 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 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 base-commit: b6d37ec1dd2a228d94e7b5b438f3aa53684316bc -- 2.49.0