docs: update abi version info

Message ID PA4PR05MB9282B2473576527942BF9F07E4919@PA4PR05MB9282.eurprd05.prod.outlook.com
State New, archived
Headers
Series docs: update abi version info |

Commit Message

Li, Pan2 via Gcc-patches July 21, 2022, 7:18 a.m. UTC
  Synchronize gcc/common.opts and gcc/doc/invoke.texi w.r.t -fabi-version, and
correct -fabi-compat-version from ABIv11 to ABIv13, since it was changed in
a37e8ce3b66325f0c6de55c80d50ac1664c3d0eb

gcc/ChangeLog:

	* doc/invoke.texi: update abi version info
---
 gcc/doc/invoke.texi | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

-- 
2.30.2
  

Comments

Jeff Law Sept. 27, 2022, 3:05 p.m. UTC | #1
On 7/21/22 01:18, Kim Kuparinen via Gcc-patches wrote:
> Subject:
> [PATCH] docs: update abi version info
> From:
> Kim Kuparinen via Gcc-patches <gcc-patches@gcc.gnu.org>
> Date:
> 7/21/22, 01:18
>
> To:
> "gcc-patches@gcc.gnu.org" <gcc-patches@gcc.gnu.org>
>
>
> Synchronize gcc/common.opts and gcc/doc/invoke.texi w.r.t -fabi-version, and
> correct -fabi-compat-version from ABIv11 to ABIv13, since it was changed in
> a37e8ce3b66325f0c6de55c80d50ac1664c3d0eb
>
> gcc/ChangeLog:
>
> 	* doc/invoke.texi: update abi version info

THanks.  I pushed this to the trunk.  Sorry for the long wait.


jeff
  

Patch

diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 94689be28..2bf1f3fd3 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -2926,10 +2926,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}
@@ -2939,7 +2946,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}.