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]

Re: Change -fdce to -fssa-dce


  In message <Pine.LNX.4.33.0106292143500.2135-100000@kern.srcf.societies.cam.a
c.uk>you write:
  > On Fri, 29 Jun 2001 law@redhat.com wrote:
  > 
  > > 	* ssa-dce.c (ssa_eliminate_dead_code): Renamed from
  > > 	eliminate_date_code.
  > > 	* ssa.h (ssa_eliminate_dead_code): Corresponding changes.
  > > 	* timevar.def (TV_SSA_DCE): Renamed from TV_DEAD_CODE_ELIM.
  > > 	* toplev.c (DFI_ssa_dce): Renamed from DFI_dce.
  > > 	(dump_file_info): Similar changes.
  > > 	(flag_ssa_dce): Similarly
  > > 	(f_options): Similar changes.
  > > 	(rest_of_compilation): Corresponding changes.
  > > 	* doc/invoke.texi: Update as option is now -fssa-dce instead
  > > 	of -fdce.  Update dump file name.
  > 
  > The documentation of passes and files of the compiler in gcc.texi also
  > needs updating.
Thanks.  Fixed via:

	* gcc.texi (Passes): Update due to recent -fdce -> -fssa-dce
	changes.  Fix documentation for SSA DCE pass.

Index: gcc.texi
===================================================================
RCS file: /cvs/gcc/egcs/gcc/doc/gcc.texi,v
retrieving revision 1.22
diff -c -3 -p -r1.22 gcc.texi
*** gcc.texi	2001/06/28 21:50:09	1.22
--- gcc.texi	2001/06/29 21:58:36
*************** the input file name.
*** 3425,3437 ****
  @cindex dead code elimination
  @opindex fdce
  @item
! Dead Code Elimination.  Turned on by the @option{-fdce} option.
! This pass performs elimination of code considered unnecessary because it
! is never executed.  It operates in linear time.
  
  @opindex dX
  The option @option{-dX} causes a debugging dump of the RTL code after
! this pass.  This dump file's name is made by appending @samp{.dce} to
  the input file name.
  @end itemize
  @cindex global common subexpression elimination
--- 3425,3438 ----
  @cindex dead code elimination
  @opindex fdce
  @item
! SSA Aggressive Dead Code Elimination.  Turned on by the @option{-fssa-dce}
! option.  This pass performs elimination of code considered unnecessary because
! it has no externally visible effects on the program.  It operates in
! linear time.
  
  @opindex dX
  The option @option{-dX} causes a debugging dump of the RTL code after
! this pass.  This dump file's name is made by appending @samp{.ssadce} to
  the input file name.
  @end itemize
  @cindex global common subexpression elimination



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