OSDN Git Service

Word wrap comment
[pf3gnuchains/gcc-fork.git] / gcc / local-alloc.c
index 20857a9..e277f80 100644 (file)
@@ -1,5 +1,6 @@
 /* Allocate registers within a basic block, for GNU compiler.
-   Copyright (C) 1987, 88, 91, 93-99, 2000 Free Software Foundation, Inc.
+   Copyright (C) 1987, 1988, 1991, 1993, 1994, 1995, 1996, 1997, 1998,
+   1999, 2000 Free Software Foundation, Inc.
 
 This file is part of GNU CC.
 
@@ -1110,7 +1111,8 @@ block_alloc (b)
 
             If tying is done, WIN is set nonzero.  */
 
-         if (recog_data.n_operands > 1
+         if (optimize
+             && recog_data.n_operands > 1
              && recog_data.constraints[0][0] == '='
              && recog_data.constraints[0][1] != '&')
            {
@@ -1194,7 +1196,8 @@ block_alloc (b)
             destination register won't have had a quantity number
             assigned, since that would prevent combining.  */
 
-         if (GET_CODE (PATTERN (insn)) == CLOBBER
+         if (optimize
+             && GET_CODE (PATTERN (insn)) == CLOBBER
              && (r0 = XEXP (PATTERN (insn), 0),
                  GET_CODE (r0) == REG)
              && (link = find_reg_note (insn, REG_LIBCALL, NULL_RTX)) != 0
@@ -1249,9 +1252,10 @@ block_alloc (b)
          for (link = REG_NOTES (insn); link; link = XEXP (link, 1))
            if (REG_NOTE_KIND (link) == REG_DEAD
                && GET_CODE (XEXP (link, 0)) == REG
-               && combined_regno != REGNO (XEXP (link, 0))
-               && (no_conflict_combined_regno != REGNO (XEXP (link, 0))
-                   || ! find_reg_note (insn, REG_NO_CONFLICT, XEXP (link, 0))))
+               && combined_regno != (int) REGNO (XEXP (link, 0))
+               && (no_conflict_combined_regno != (int) REGNO (XEXP (link, 0))
+                   || ! find_reg_note (insn, REG_NO_CONFLICT,
+                                       XEXP (link, 0))))
              wipe_dead_reg (XEXP (link, 0), 0);
 
          /* Allocate qty numbers for all registers local to this block