summaryrefslogtreecommitdiff
path: root/gcc/config/m68k/tower-as.h
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1993-12-14 00:09:31 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1993-12-14 00:09:31 +0000
commitfda38c1fcec8a2128c900067c9a8e68363e9829d (patch)
treebf082a31775f8de607a18fc38ce35c64bb939b8c /gcc/config/m68k/tower-as.h
parent744afe28fc74decbb4dde72ae3ba38869cccd03e (diff)
downloadgcc-fda38c1fcec8a2128c900067c9a8e68363e9829d.tar.gz
(ASM_OUTPUT_ASCII): Wrap in `do { ... } while (0)'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6225 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/m68k/tower-as.h')
-rw-r--r--gcc/config/m68k/tower-as.h15
1 files changed, 6 insertions, 9 deletions
diff --git a/gcc/config/m68k/tower-as.h b/gcc/config/m68k/tower-as.h
index 699660bcd41..46d7eee1493 100644
--- a/gcc/config/m68k/tower-as.h
+++ b/gcc/config/m68k/tower-as.h
@@ -1,16 +1,13 @@
/* Definitions of target machine for GNU compiler.
+ For NCR Tower 32/4x0 and 32/6x0 running System V Release 3.
Copyright (C) 1990, 1993 Free Software Foundation, Inc.
+ Written by Robert Andersson (ra@intsys.no), International Systems,
+ Oslo, Norway.
- Written by Robert Andersson, International Systems, Oslo, Norway.
- Send bug reports, questions and improvements to ra@intsys.no.
-
- For NCR Tower 32/4x0 and 32/6x0 running System V Release 3.
This file outputs assembler source suitable for the native Tower as
and with sdb debugging symbols. See tower.h for more comments.
- This file was based on m68k.h, hp320.h and 3b1.h
- as of the 1.37.1 version.
-
+ This file was based on m68k.h, hp320.h and 3b1.h as of the 1.37.1 version.
This file is part of GNU CC.
@@ -90,7 +87,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
fprintf (FILE, "\tident\t\"%s\" \n", NAME)
#define ASM_OUTPUT_ASCII(FILE,PTR,LEN) \
- { register int sp = 0, lp = 0; \
+ do { register int sp = 0, lp = 0; \
fprintf ((FILE), "\tbyte\t"); \
loop: \
if ((PTR)[sp] > ' ' && ! ((PTR)[sp] & 0x80) && (PTR)[sp] != '\\') \
@@ -106,7 +103,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
else \
putc (',', (FILE)); \
goto loop; } \
- putc ('\n', (FILE)); }
+ putc ('\n', (FILE)); } while (0)
/* Translate Motorola opcodes such as `jbeq'
into SGS/Tower opcodes such as `beq.w'.