This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

-fall-virtual removal from docs


Jason should review this patch.  I don't feel strongly on this issue,
but I think it makes more sense than fixing it.

This is the first step to getting rid of -fall-virtual:

Mon Jul  6 15:15:53 1998  Mike Stump  <mrs@wrs.com>

	* invoke.texi (C++ Dialect Options): Remove -fall-virtual.

Doing diffs in gcc/invoke.texi.~1~:
*** gcc/invoke.texi.~1~	Mon Jul  6 12:05:37 1998
--- gcc/invoke.texi	Mon Jul  6 15:15:38 1998
*************** in the following sections.
*** 102,108 ****
  @item C++ Language Options
  @xref{C++ Dialect Options,,Options Controlling C++ Dialect}.
  @smallexample
! -fall-virtual  -fdollars-in-identifiers  -felide-constructors
  -fenum-int-equiv  -fexternal-templates  -ffor-scope  
  -fno-for-scope  -fhandle-signatures  -fmemoize-lookups  
  -fname-mangling-version-@var{n}  -fno-default-inline  
--- 102,108 ----
  @item C++ Language Options
  @xref{C++ Dialect Options,,Options Controlling C++ Dialect}.
  @smallexample
! -fdollars-in-identifiers  -felide-constructors
  -fenum-int-equiv  -fexternal-templates  -ffor-scope  
  -fno-for-scope  -fhandle-signatures  -fmemoize-lookups  
  -fname-mangling-version-@var{n}  -fno-default-inline  
*************** Here is a list of options that are @emph
*** 921,938 ****
  @item -fno-access-control
  Turn off all access checking.  This switch is mainly useful for working
  around bugs in the access control code.
- 
- @item -fall-virtual
- Treat all possible member functions as virtual, implicitly.
- All member functions (except for constructor functions and @code{new} or
- @code{delete} member operators) are treated as virtual functions of the
- class where they appear.
- 
- This does not mean that all calls to these member functions will be made
- through the internal table of virtual functions.  Under some
- circumstances, the compiler can determine that a call to a given virtual
- function can be made directly; in these cases the calls are direct in
- any case.
  
  @item -fcheck-new
  Check that the pointer returned by @code{operator new} is non-null
--- 921,926 ----
--------------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]