From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2119) id B00A93858C50; Tue, 27 Sep 2022 15:05:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B00A93858C50 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1664291104; bh=krzD4YYU1fcNIe6F9GBHmlvwDPH/vPfTaNpcswzJGR0=; h=From:To:Subject:Date:From; b=tzIObHha9wvAVy7Kjt3ycBsYAZttZEKqqZrqmHXPoVCpAma+MsX5+Ykw5ea0FqAId Zos8BExFeMMTaemCQl5qy/SgYWdx9Pp9WGmtSXUMo/6Hy0MEUBIO8RIJtzRSJjUNEv BUwXyMTRCK9R+2+2G4yA7l4WtePNBNoZly6OwBLs= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Jeff Law To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-2901] docs: update abi version info X-Act-Checkin: gcc X-Git-Author: Kim Kuparinen X-Git-Refname: refs/heads/master X-Git-Oldrev: 001c60ccfeaf9a480a56203418af804ad42e88b9 X-Git-Newrev: 0b2706ac0e6d6b990d789325f9e081dfe4501f4f Message-Id: <20220927150504.B00A93858C50@sourceware.org> Date: Tue, 27 Sep 2022 15:05:04 +0000 (GMT) List-Id: https://gcc.gnu.org/g:0b2706ac0e6d6b990d789325f9e081dfe4501f4f commit r13-2901-g0b2706ac0e6d6b990d789325f9e081dfe4501f4f Author: Kim Kuparinen Date: Tue Sep 27 11:04:25 2022 -0400 docs: update abi version info gcc/ * doc/invoke.texi: Update ABI version info. Diff: --- gcc/doc/invoke.texi | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 383d22a4bf4..2ac9cfc35f9 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}.