aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1992-11-30 22:58:42 +0000
committerRichard Stallman <rms@gnu.org>1992-11-30 22:58:42 +0000
commitca98edf91c0f3d5363e7f9186467ba368e0b8f9b (patch)
treeafa84e7069f3d8d0373f0a03842ac61031056876 /gcc
parent5aa14feece79853511c91875f7d04f12e597bad1 (diff)
downloadgcc-ca98edf91c0f3d5363e7f9186467ba368e0b8f9b.zip
gcc-ca98edf91c0f3d5363e7f9186467ba368e0b8f9b.tar.gz
gcc-ca98edf91c0f3d5363e7f9186467ba368e0b8f9b.tar.bz2
(ASM_OUTPUT_DOUBLE_OPERAND): Really use the operand VALUE.
From-SVN: r2816
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/m68k/sgs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/config/m68k/sgs.h b/gcc/config/m68k/sgs.h
index df1dfd5..164884a 100644
--- a/gcc/config/m68k/sgs.h
+++ b/gcc/config/m68k/sgs.h
@@ -215,7 +215,9 @@ do { union { float f; long l;} tem; \
#undef ASM_OUTPUT_DOUBLE_OPERAND
#define ASM_OUTPUT_DOUBLE_OPERAND(FILE,VALUE) \
- asm_fprintf ((FILE),"%I0x%x%08x", u.i[0], u.i[1]);
+ do { union real_extract u; \
+ u.d = (VALUE); \
+ asm_fprintf ((FILE),"%I0x%x%08x", u.i[0], u.i[1]); } while (0)
/* How to output a block of SIZE zero bytes. Note that the `space' pseudo,
when used in the text segment, causes SGS assemblers to output nop insns