From: Richard Henderson Date: Sat, 24 Mar 2001 01:20:50 +0000 (-0800) Subject: iris4.h (ASM_OUTPUT_ASCII): Rename local variables to avoid shadowing arguments. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=75e0407e0106071870ed320eb43ada92f00f9395;p=platform%2Fupstream%2Fgcc.git iris4.h (ASM_OUTPUT_ASCII): Rename local variables to avoid shadowing arguments. * config/mips/iris4.h (ASM_OUTPUT_ASCII): Rename local variables to avoid shadowing arguments. From-SVN: r40804 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 08bdfae..1229a39 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2001-03-23 Richard Henderson + + * config/mips/iris4.h (ASM_OUTPUT_ASCII): Rename local variables + to avoid shadowing arguments. + 2001-03-23 Jakub Jelinek * varasm.c (make_decl_rtl): Don't append var_labelno discriminator diff --git a/gcc/config/mips/iris4.h b/gcc/config/mips/iris4.h index abdcda5..db50f37 100644 --- a/gcc/config/mips/iris4.h +++ b/gcc/config/mips/iris4.h @@ -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)