From 46c83bced1787d4171f8b30860627c7dcdd2c8a4 Mon Sep 17 00:00:00 2001
From: Mark Mitchell <mark@codesourcery.com>
Date: Mon, 23 Sep 2002 15:00:42 +0000
Subject: [PATCH] c-common.h (flag_abi_version): Fix typo in comment.

	* c-common.h (flag_abi_version): Fix typo in comment.
	* doc/invoke.texi (flag_abi_version): Document default value.

From-SVN: r57440
---
 gcc/ChangeLog       |  5 +++++
 gcc/c-common.h      | 10 +++++-----
 gcc/doc/invoke.texi |  2 ++
 3 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 103a62b2b103..7ac371b7f1fe 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2002-09-23  Mark Mitchell  <mark@codesourcery.com>
+
+	* c-common.h (flag_abi_version): Fix typo in comment.
+	* doc/invoke.texi (flag_abi_version): Document default value.
+
 2002-09-23  Hans-Peter Nilsson  <hp@axis.com>
 
 	* doc/extend.texi (Extended Asm): Clarify that overlap between
diff --git a/gcc/c-common.h b/gcc/c-common.h
index 8cf6aa47ce85..c44184da4153 100644
--- a/gcc/c-common.h
+++ b/gcc/c-common.h
@@ -740,12 +740,12 @@ extern int flag_enforce_eh_specs;
 /*  The version of the C++ ABI in use.  The following values are
     allowed:
 
-    -1: The version of the ABI believed most conformant with the 
-        C++ ABI specification.  This ABI may change as bugs are
-	discovered and fixed.  Therefore, -1 will not necessarily
-	indicate the same ABI in different versions of G++.
+    0: The version of the ABI believed most conformant with the 
+       C++ ABI specification.  This ABI may change as bugs are
+       discovered and fixed.  Therefore, 0 will not necessarily
+       indicate the same ABI in different versions of G++.
 
-    0: The version of the ABI first used in G++ 3.2.
+    1: The version of the ABI first used in G++ 3.2.
 
     Additional positive integers will be assigned as new versions of
     the ABI become the default version of the ABI.  */
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 66aab29a30da..386c174b814f 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -1258,6 +1258,8 @@ version that conforms most closely to the C++ ABI specification.
 Therefore, the ABI obtained using version 0 will change as ABI bugs are
 fixed.
 
+The default is version 1.
+
 @item -fno-access-control
 @opindex fno-access-control
 Turn off all access checking.  This switch is mainly useful for working
-- 
GitLab