diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-12-16 15:43:41 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-12-16 15:43:41 +0000 |
commit | eba040b9000deb31498e405abb8b275721bd3e01 (patch) | |
tree | 73f4d77a8b06a7befb407d92ab27301e89af01ff /gcc/config/ns32k | |
parent | 3a77d6fae987c4381c9eeef807a563f390a94b76 (diff) | |
download | gcc-eba040b9000deb31498e405abb8b275721bd3e01.tar.gz |
* clipper/clix.h (ASM_OUTPUT_ASCII): Avoid signed/unsigned
warnings.
* convex.h (ASM_OUTPUT_ASCII): Likewise.
* i370.h (ASM_OUTPUT_ASCII): Likewise.
* i386/att.h (ASM_OUTPUT_ASCII): Likewise.
* i386/i386-interix.h (ASM_OUTPUT_ASCII): Likewise.
* i386/i386elf.h (ASM_OUTPUT_ASCII): Likewise.
* i386/ptx4-i.h (ASM_OUTPUT_ASCII): Likewise.
* i386/sco5.h (ASM_OUTPUT_ASCII): Likewise.
* i386/sun386.h (ASM_OUTPUT_ASCII): Likewise.
* i386/sysv4.h (ASM_OUTPUT_ASCII): Likewise.
* i860/bsd.h (ASM_OUTPUT_ASCII): Likewise.
* m68k/3b1.h (ASM_OUTPUT_ASCII): Likewise.
* m68k/amix.h (ASM_OUTPUT_ASCII): Likewise.
* m68k/atari.h (ASM_OUTPUT_ASCII): Likewise.
* m68k/crds.h (ASM_OUTPUT_ASCII): Likewise.
* m68k/hp320.h (ASM_OUTPUT_ASCII): Likewise.
* m68k/m68kv4.h (ASM_OUTPUT_ASCII): Likewise.
* m68k/mot3300.h (ASM_OUTPUT_ASCII): Likewise.
* m68k/sgs.h (ASM_OUTPUT_ASCII): Likewise.
* m68k/tower-as.h (ASM_OUTPUT_ASCII): Likewise.
* mips/bsd-5.h (ASM_OUTPUT_ASCII): Likewise.
* mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
* mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
* mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
* ns32k/encore.h (ASM_OUTPUT_ASCII): Likewise.
* vax/vaxv.h (ASM_OUTPUT_ASCII): Likewise.
* we32k/we32k.h (ASM_OUTPUT_ASCII): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48071 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/ns32k')
-rw-r--r-- | gcc/config/ns32k/encore.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/gcc/config/ns32k/encore.h b/gcc/config/ns32k/encore.h index be86c6cbdfc..dd7c14be60f 100644 --- a/gcc/config/ns32k/encore.h +++ b/gcc/config/ns32k/encore.h @@ -128,15 +128,17 @@ do { \ #define ASM_OUTPUT_ASCII(file, p, size) \ do { \ - int i; \ - for (i = 0; i < (size); i++) \ + size_t i, limit = (size); \ + for (i = 0; i < limit; i++) \ { \ register int c = (p)[i]; \ if ((i / 40) * 40 == i) \ - if (i == 0) \ - fprintf ((file), "\t.ascii \""); \ - else \ - fprintf ((file), "\"\n\t.ascii \""); \ + { \ + if (i == 0) \ + fprintf ((file), "\t.ascii \""); \ + else \ + fprintf ((file), "\"\n\t.ascii \""); \ + } \ if (c == '\"' || c == '\\') \ putc ('\\', (file)); \ if (c >= ' ' && c < 0177) \ @@ -144,7 +146,7 @@ do { \ else \ { \ fprintf ((file), "\\%o", c); \ - if (i < (size) - 1 && ISDIGIT ((p)[i + 1])) \ + if (i < limit - 1 && ISDIGIT ((p)[i + 1])) \ fprintf ((file), "\"\n\t.ascii \""); \ } \ } \ |