aboutsummaryrefslogtreecommitdiff
path: root/gcc/f
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2002-09-04 09:24:24 -0700
committerRichard Henderson <rth@gcc.gnu.org>2002-09-04 09:24:24 -0700
commit4b67a2744180ace28c32242b2a19d5e460cb85b3 (patch)
treeb08cf3dd22396dc00c208124fa79e09623e672ab /gcc/f
parent01abf342f82f9db810b16e139fd15986afc75168 (diff)
downloadgcc-4b67a2744180ace28c32242b2a19d5e460cb85b3.zip
gcc-4b67a2744180ace28c32242b2a19d5e460cb85b3.tar.gz
gcc-4b67a2744180ace28c32242b2a19d5e460cb85b3.tar.bz2
real.c (ereal_to_decimal): Add digits parameter.
* real.c (ereal_to_decimal): Add digits parameter. * real.h (REAL_VALUE_TO_DECIMAL): Remove format; add digits parameter. * c-pretty-print.c (pp_c_real_literal): Update call. * print-rtl.c (print_rtx): Likewise. * print-tree.c (print_node_brief, print_node): Likewise. * sched-vis.c (print_value): Likewise. * config/arc/arc.c (arc_print_operand): Likewise. * config/c4x/c4x.c (c4x_print_operand): Likewise. * config/i370/i370.h (PRINT_OPERAND): Likewise. * config/i386/i386.c (print_operand): Likewise. * config/i960/i960.c (i960_print_operand): Likewise. * config/ip2k/ip2k.c (asm_output_float): Likewise. * config/m32r/m32r.c (m32r_print_operand): Likewise. * config/m68hc11/m68hc11.c (print_operand): Likewise. * config/m68k/hp320.h (PRINT_OPERAND, ASM_OUTPUT_FLOAT_OPERAND, ASM_OUTPUT_DOUBLE_OPERAND, ASM_OUTPUT_LONG_DOUBLE_OPERAND): Likewise. * config/m68k/m68k.h (ASM_OUTPUT_FLOAT_OPERAND, ASM_OUTPUT_DOUBLE_OPERAND, ASM_OUTPUT_LONG_DOUBLE_OPERAND): Likewise. * config/m68k/sun2o4.h (ASM_OUTPUT_FLOAT_OPERAND, ASM_OUTPUT_DOUBLE_OPERAND): Likewise. * config/m68k/sun3.h (ASM_OUTPUT_FLOAT_OPERAND, ASM_OUTPUT_DOUBLE_OPERAND): Likewise. * config/mips/mips.c (print_operand): Likewise. * config/ns32k/ns32k.c (print_operand): Likewise. * config/pdp11/pdp11.h (PRINT_OPERAND): Likewise. * config/vax/vax.h (PRINT_OPERAND): Likewise. * doc/tm.texi (REAL_VALUE_TO_DECIMAL): Update docs. * f/target.h (ffetarget_print_real1, ffetarget_print_real2): Update call to REAL_VALUE_TO_DECIMAL. From-SVN: r56798
Diffstat (limited to 'gcc/f')
-rw-r--r--gcc/f/ChangeLog5
-rw-r--r--gcc/f/target.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/f/ChangeLog b/gcc/f/ChangeLog
index 9caccf2..56e33aa 100644
--- a/gcc/f/ChangeLog
+++ b/gcc/f/ChangeLog
@@ -1,3 +1,8 @@
+2002-09-04 Richard Henderson <rth@redhat.com>
+
+ * target.h (ffetarget_print_real1, ffetarget_print_real2): Update
+ call to REAL_VALUE_TO_DECIMAL.
+
2002-08-31 Toon Moene <toon@moene.indiv.nluug.nl>
* com.c: Don't set flag_finite_math_only by default.
diff --git a/gcc/f/target.h b/gcc/f/target.h
index a8c7c58..0601c4a 100644
--- a/gcc/f/target.h
+++ b/gcc/f/target.h
@@ -1493,13 +1493,13 @@ void *ffetarget_memcpy_ (void *dst, void *src, size_t len);
#define ffetarget_print_real1(f,l) \
({ REAL_VALUE_TYPE lr; \
lr = ffetarget_cvt_r1_to_rv_ ((l)); \
- REAL_VALUE_TO_DECIMAL (lr, bad_fmt_val??, ffetarget_string_); \
+ REAL_VALUE_TO_DECIMAL (lr, ffetarget_string_, -1); \
fputs (ffetarget_string_, (f)); \
})
#define ffetarget_print_real2(f,l) \
({ REAL_VALUE_TYPE lr; \
lr = ffetarget_cvt_r2_to_rv_ (&((l).v[0])); \
- REAL_VALUE_TO_DECIMAL (lr, bad_fmt_val??, ffetarget_string_); \
+ REAL_VALUE_TO_DECIMAL (lr, ffetarget_string_, -1); \
fputs (ffetarget_string_, (f)); \
})
#define ffetarget_real1_one(res) ffetarget_cvt_rv_to_r1_ (dconst1, *(res))