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]

Comment typos fixed in reload.c (committed)


Committed as obvious.  Bootstrapped & checked on
i686-pc-linux-gnu.  (I could've goofed on comment delimiters! ;-)

	* reload.c (push_reload): Fix typo in comment.
	(find_reloads_address): Ditto.
	(reg_overlap_mentioned_for_reload_p): Ditto in head comment.

Index: reload.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/reload.c,v
retrieving revision 1.150
diff -p -c -r1.150 reload.c
*** reload.c	2001/07/18 03:32:46	1.150
--- reload.c	2001/07/23 06:15:33
*************** push_reload (in, out, inloc, outloc, cla
*** 1364,1370 ****
        rld[i].opnum = MIN (rld[i].opnum, opnum);
      }

!   /* If the ostensible rtx being reload differs from the rtx found
       in the location to substitute, this reload is not safe to combine
       because we cannot reliably tell whether it appears in the insn.  */

--- 1364,1370 ----
        rld[i].opnum = MIN (rld[i].opnum, opnum);
      }

!   /* If the ostensible rtx being reloaded differs from the rtx found
       in the location to substitute, this reload is not safe to combine
       because we cannot reliably tell whether it appears in the insn.  */

*************** find_reloads_address (mode, memrefloc, a
*** 4847,4853 ****
       into a register.  */
    if (CONSTANT_P (ad) && ! strict_memory_address_p (mode, ad))
      {
!       /* If AD is in address in the constant pool, the MEM rtx may be shared.
  	 Unshare it so we can safely alter it.  */
        if (memrefloc && GET_CODE (ad) == SYMBOL_REF
  	  && CONSTANT_POOL_ADDRESS_P (ad))
--- 4847,4853 ----
       into a register.  */
    if (CONSTANT_P (ad) && ! strict_memory_address_p (mode, ad))
      {
!       /* If AD is an address in the constant pool, the MEM rtx may be shared.
  	 Unshare it so we can safely alter it.  */
        if (memrefloc && GET_CODE (ad) == SYMBOL_REF
  	  && CONSTANT_POOL_ADDRESS_P (ad))
*************** refers_to_regno_for_reload_p (regno, end
*** 6076,6082 ****
     contains a MEM (we don't bother checking for memory addresses that can't
     conflict because we expect this to be a rare case.

!    This function is similar to reg_overlap_mention_p in rtlanal.c except
     that we look at equivalences for pseudos that didn't get hard registers.  */

  int
--- 6076,6082 ----
     contains a MEM (we don't bother checking for memory addresses that can't
     conflict because we expect this to be a rare case.

!    This function is similar to reg_overlap_mentioned_p in rtlanal.c except
     that we look at equivalences for pseudos that didn't get hard registers.  */

  int

brgds, H-P


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