OSDN Git Service

* config/mips/iris4.h (ASM_OUTPUT_ASCII): Rename local variables
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 24 Mar 2001 01:20:50 +0000 (01:20 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 24 Mar 2001 01:20:50 +0000 (01:20 +0000)
        to avoid shadowing arguments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40804 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/mips/iris4.h

index 08bdfae..1229a39 100644 (file)
@@ -1,3 +1,8 @@
+2001-03-23  Richard Henderson  <rth@redhat.com>
+
+       * config/mips/iris4.h (ASM_OUTPUT_ASCII): Rename local variables
+       to avoid shadowing arguments.
+
 2001-03-23  Jakub Jelinek  <jakub@redhat.com>
 
        * varasm.c (make_decl_rtl): Don't append var_labelno discriminator
index abdcda5..db50f37 100644 (file)
@@ -1,5 +1,5 @@
 /* Definitions of target machine for GNU compiler.  Iris version 4.
-   Copyright (C) 1991, 1993, 1999 Free Software Foundation, Inc.
+   Copyright (C) 1991, 1993, 1999, 2001 Free Software Foundation, Inc.
 
 This file is part of GNU CC.
 
@@ -30,15 +30,16 @@ Boston, MA 02111-1307, USA.  */
 /* Some assemblers have a bug that causes backslash escaped chars in .ascii
    to be misassembled, so we just completely avoid it.  */
 #undef ASM_OUTPUT_ASCII
-#define ASM_OUTPUT_ASCII(FILE,PTR,LEN)                 \
-do {                                                   \
-  const unsigned char *s;                              \
-  int i;                                               \
-  for (i = 0, s = (const unsigned char *)(PTR); i < (LEN); s++, i++) \
-    {                                                  \
-      if ((i % 8) == 0)                                        \
-       fputs ("\n\t.byte\t", (FILE));                  \
-      fprintf ((FILE), "%s0x%x", (i%8?",":""), (unsigned)*s); \
-    }                                                  \
-  fputs ("\n", (FILE));                                        \
+#define ASM_OUTPUT_ASCII(FILE,PTR,LEN)                         \
+do {                                                           \
+  const unsigned char *s_ = (const unsigned char *)(PTR);      \
+  unsigned len_ = (LEN);                                       \
+  unsigned i_;                                                 \
+  for (i_ = 0; i_ < len_; s_++, i_++)                          \
+    {                                                          \
+      if ((i_ % 8) == 0)                                       \
+       fputs ("\n\t.byte\t", (FILE));                          \
+      fprintf ((FILE), "%s0x%x", (i_%8?",":""), *s_);          \
+    }                                                          \
+  fputs ("\n", (FILE));                                                \
 } while (0)