C++ PATCH: Correct -fabi-version documentation

Mark Mitchell mark@codesourcery.com
Mon Sep 23 08:01:00 GMT 2002


Fix the typo that Gaby noticed and add the clarification for which 
Fergus asked.

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com

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.

diff -c -p -r1.161 c-common.h
*** c-common.h	23 Sep 2002 09:22:12 -0000	1.161
--- c-common.h	23 Sep 2002 14:45:33 -0000
*************** extern int flag_enforce_eh_specs;
*** 740,751 ****
  /*  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 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.  */
--- 740,751 ----
  /*  The version of the C++ ABI in use.  The following values are
      allowed:
  
!     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++.
  
!     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.  */
Index: doc/invoke.texi
===================================================================
RCS file: /cvs/gcc/gcc/gcc/doc/invoke.texi,v
retrieving revision 1.187
diff -c -p -r1.187 invoke.texi
*** doc/invoke.texi	23 Sep 2002 09:22:15 -0000	1.187
--- doc/invoke.texi	23 Sep 2002 14:45:35 -0000
*************** version that conforms most closely to th
*** 1258,1263 ****
--- 1258,1265 ----
  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



More information about the Gcc-patches mailing list