Some comment typos fixed

Hans-Peter Nilsson hans-peter.nilsson@axis.com
Mon Sep 10 17:24:00 GMT 2001


A few typo fixes I grew tired of hoarding.  Bootstrapped on
i686-pc-linux-gnu.  Installed as obvious.

	* dbxout.c (dbxout_parms): Fix typo in comment.
	* unroll.c (loop_find_equiv_value): Ditto.
	* toplev.c (rest_of_compilation): Ditto.
	* loop.c (scan_loop): Ditto.
	(scan_loop): Ditto.
	* dwarf2out.c (struct dw_fde_struct): Ditto.

Index: dbxout.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/dbxout.c,v
retrieving revision 1.103
diff -p -c -r1.103 dbxout.c
*** dbxout.c	2001/08/22 14:34:54	1.103
--- dbxout.c	2001/09/11 00:11:41
*************** dbxout_parms (parms)
*** 2450,2456 ****
  	       passing a float to an unprototyped function, gcc will store a
  	       double on the stack, but if we emit a stab saying the type is a
  	       float, then gdb will only read in a single value, and this will
! 	       produce an erropneous value.  */
   	    dbxout_type (DECL_ARG_TYPE (parms), 0);
  	    current_sym_value = DEBUGGER_ARG_OFFSET (current_sym_value, addr);
  	    dbxout_finish_symbol (parms);
--- 2450,2456 ----
  	       passing a float to an unprototyped function, gcc will store a
  	       double on the stack, but if we emit a stab saying the type is a
  	       float, then gdb will only read in a single value, and this will
! 	       produce an erroneous value.  */
   	    dbxout_type (DECL_ARG_TYPE (parms), 0);
  	    current_sym_value = DEBUGGER_ARG_OFFSET (current_sym_value, addr);
  	    dbxout_finish_symbol (parms);
Index: unroll.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/unroll.c,v
retrieving revision 1.135
diff -p -c -r1.135 unroll.c
*** unroll.c	2001/08/22 14:35:50	1.135
--- unroll.c	2001/09/11 00:11:45
*************** final_giv_value (loop, v)
*** 3352,3358 ****
    return 0;
  }
  
! /* Look back before LOOP->START for then insn that sets REG and return
     the equivalent constant if there is a REG_EQUAL note otherwise just
     the SET_SRC of REG.  */
  
--- 3352,3358 ----
    return 0;
  }
  
! /* Look back before LOOP->START for the insn that sets REG and return
     the equivalent constant if there is a REG_EQUAL note otherwise just
     the SET_SRC of REG.  */
  
Index: toplev.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/toplev.c,v
retrieving revision 1.510
diff -p -c -r1.510 toplev.c
*** toplev.c	2001/09/05 17:48:25	1.510
--- toplev.c	2001/09/11 00:11:49
*************** rest_of_compilation (decl)
*** 2827,2833 ****
    unshare_all_rtl (current_function_decl, insns);
  
  #ifdef SETJMP_VIA_SAVE_AREA
!   /* This must be performed before virutal register instantiation.  */
    if (current_function_calls_alloca)
      optimize_save_area_alloca (insns);
  #endif
--- 2827,2833 ----
    unshare_all_rtl (current_function_decl, insns);
  
  #ifdef SETJMP_VIA_SAVE_AREA
!   /* This must be performed before virtual register instantiation.  */
    if (current_function_calls_alloca)
      optimize_save_area_alloca (insns);
  #endif
Index: loop.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/loop.c,v
retrieving revision 1.355
diff -p -c -r1.355 loop.c
*** loop.c	2001/09/09 08:45:20	1.355
--- loop.c	2001/09/11 00:11:54
*************** scan_loop (loop, flags)
*** 727,733 ****
  		      something after this point in the loop might
  		      depend on its value before the set).  */
  		   ! reg_in_basic_block_p (p, SET_DEST (set))
! 		   /* And the set is not guaranteed to be executed one
  		      the loop starts, or the value before the set is
  		      needed before the set occurs...
  
--- 727,733 ----
  		      something after this point in the loop might
  		      depend on its value before the set).  */
  		   ! reg_in_basic_block_p (p, SET_DEST (set))
! 		   /* And the set is not guaranteed to be executed once
  		      the loop starts, or the value before the set is
  		      needed before the set occurs...
  
*************** scan_loop (loop, flags)
*** 963,969 ****
  		  beginning, don't set maybe_never for that.  This must be an
  		  unconditional jump, otherwise the code at the top of the
  		  loop might never be executed.  Unconditional jumps are
! 		  followed a by barrier then loop end.  */
                 && ! (GET_CODE (p) == JUMP_INSN && JUMP_LABEL (p) == loop->top
  		     && NEXT_INSN (NEXT_INSN (p)) == loop_end
  		     && any_uncondjump_p (p)))
--- 963,969 ----
  		  beginning, don't set maybe_never for that.  This must be an
  		  unconditional jump, otherwise the code at the top of the
  		  loop might never be executed.  Unconditional jumps are
! 		  followed by a barrier then the loop_end.  */
                 && ! (GET_CODE (p) == JUMP_INSN && JUMP_LABEL (p) == loop->top
  		     && NEXT_INSN (NEXT_INSN (p)) == loop_end
  		     && any_uncondjump_p (p)))
Index: dwarf2out.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/dwarf2out.c,v
retrieving revision 1.307
diff -p -c -r1.307 dwarf2out.c
*** dwarf2out.c	2001/09/10 18:09:27	1.307
--- dwarf2out.c	2001/09/11 00:12:02
*************** typedef struct cfa_loc
*** 155,161 ****
  
  /* All call frame descriptions (FDE's) in the GCC generated DWARF
     refer to a single Common Information Entry (CIE), defined at
!    the beginning of the .debug_frame section.  This used of a single
     CIE obviates the need to keep track of multiple CIE's
     in the DWARF generation routines below.  */
  
--- 155,161 ----
  
  /* All call frame descriptions (FDE's) in the GCC generated DWARF
     refer to a single Common Information Entry (CIE), defined at
!    the beginning of the .debug_frame section.  This use of a single
     CIE obviates the need to keep track of multiple CIE's
     in the DWARF generation routines below.  */
  

brgds, H-P



More information about the Gcc-patches mailing list