aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/convex
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2001-12-16 15:43:41 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2001-12-16 15:43:41 +0000
commit9d955c3ab799983c9d3e2afef1e8438d06e4c7fb (patch)
tree73f4d77a8b06a7befb407d92ab27301e89af01ff /gcc/config/convex
parent10b2117ec65dfd4dca51d06f4a12a4e31136efd1 (diff)
downloadgcc-9d955c3ab799983c9d3e2afef1e8438d06e4c7fb.zip
gcc-9d955c3ab799983c9d3e2afef1e8438d06e4c7fb.tar.gz
gcc-9d955c3ab799983c9d3e2afef1e8438d06e4c7fb.tar.bz2
clix.h (ASM_OUTPUT_ASCII): Avoid signed/unsigned warnings.
* 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. From-SVN: r48071
Diffstat (limited to 'gcc/config/convex')
-rw-r--r--gcc/config/convex/convex.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/convex/convex.h b/gcc/config/convex/convex.h
index e5ba493..c6e0255 100644
--- a/gcc/config/convex/convex.h
+++ b/gcc/config/convex/convex.h
@@ -1312,9 +1312,9 @@ enum reg_class {
/* This is how to output a string */
#define ASM_OUTPUT_ASCII(FILE,STR,SIZE) do { \
- int i; \
+ size_t i, limit = (SIZE); \
fprintf ((FILE), "\tds.b \""); \
- for (i = 0; i < (SIZE); i++) { \
+ for (i = 0; i < limit; i++) { \
register int c = (STR)[i] & 0377; \
if (c >= ' ' && c < 0177 && c != '\\' && c != '"') \
putc (c, (FILE)); \