From: Kim Kuparinen Date: Tue, 27 Sep 2022 15:04:25 +0000 (-0400) Subject: docs: update abi version info X-Git-Tag: basepoints/gcc-14~4306 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b2706ac0e6d6b990d789325f9e081dfe4501f4f;p=thirdparty%2Fgcc.git docs: update abi version info gcc/ * doc/invoke.texi: Update ABI version info. --- diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 383d22a4bf4a..2ac9cfc35f92 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -2928,10 +2928,17 @@ change in version 12. Version 14, which first appeared in G++ 10, corrects the mangling of the nullptr expression. -Version 15, which first appeared in G++ 11, changes the mangling of +Version 15, which first appeared in G++ 10.3, corrects G++ 10 ABI +tag regression. + +Version 16, which first appeared in G++ 11, changes the mangling of @code{__alignof__} to be distinct from that of @code{alignof}, and dependent operator names. +Version 17, which first appeared in G++ 12, fixes layout of classes +that inherit from aggregate classes with default member initializers +in C++14 and up. + See also @option{-Wabi}. @item -fabi-compat-version=@var{n} @@ -2941,7 +2948,7 @@ works around mangling changes by creating an alias with the correct mangled name when defining a symbol with an incorrect mangled name. This switch specifies which ABI version to use for the alias. -With @option{-fabi-version=0} (the default), this defaults to 11 (GCC 7 +With @option{-fabi-version=0} (the default), this defaults to 13 (GCC 8.2 compatibility). If another ABI version is explicitly selected, this defaults to 0. For compatibility with GCC versions 3.2 through 4.9, use @option{-fabi-compat-version=2}.