summaryrefslogtreecommitdiff
path: root/gcc/sreal.c
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2003-05-17 01:40:45 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2003-05-17 01:40:45 +0000
commit85aa12f7642381b58a13d477b4ccb9bd71d5396b (patch)
treec019ef32abbdcab9b8ee28ff9f140a9c8687ed6e /gcc/sreal.c
parent77fc5755437b712190e1c7a31d6a20b4f5e22d1f (diff)
downloadgcc-85aa12f7642381b58a13d477b4ccb9bd71d5396b.tar.gz
gcc:
* cfgloopanal.c (test_for_iteration): Use string concatentation on HOST_WIDE_INT_PRINT_* format specifier to collapse multiple function calls into one. * dbxout.c (dbxout_symbol): Likewise. * defaults.h (ASM_OUTPUT_SIZE_DIRECTIVE): Likewise. * dwarf2asm.c (dw2_asm_output_data_uleb128, dw2_asm_output_data_sleb128): Likewise. * genrecog.c (debug_decision_2): Likewise. * loop.c (emit_prefetch_instructions): Likewise. * print-rtl.c (print_rtx): Likewise. * print-tree.c (print_node_brief, print_node): Likewise. * ra-debug.c (dump_igraph, dump_graph_cost, dump_static_insn_cost): Likewise. * ra-rewrite.c (dump_cost): Likewise. * sdbout.c (PUT_SDB_INT_VAL, PUT_SDB_SIZE): Likewise. * sreal.c (dump_sreal): Likewise. * unroll.c (unroll_loop, precondition_loop_p): Likewise. * varasm.c (assemble_vtable_entry): Likewise. cp: * ptree.c (cxx_print_type, cxx_print_xnode): Use string concatentation on HOST_WIDE_INT_PRINT_* format specifier to collapse multiple function calls into one. * tree.c (debug_binfo): Likewise. java: * parse.y (print_int_node): Use string concatentation on HOST_WIDE_INT_PRINT_* format specifier to collapse multiple function calls into one. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66900 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/sreal.c')
-rw-r--r--gcc/sreal.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/gcc/sreal.c b/gcc/sreal.c
index 54648eafeec..0468a9631b0 100644
--- a/gcc/sreal.c
+++ b/gcc/sreal.c
@@ -69,15 +69,11 @@ dump_sreal (file, x)
sreal *x;
{
#if SREAL_PART_BITS < 32
- fprintf (file, "((");
- fprintf (file, HOST_WIDE_INT_PRINT_UNSIGNED, x->sig_hi);
- fprintf (file, " * 2^16 + ");
- fprintf (file, HOST_WIDE_INT_PRINT_UNSIGNED, x->sig_lo);
- fprintf (file, ") * 2^%d)", x->exp);
+ fprintf (file, "((" HOST_WIDE_INT_PRINT_UNSIGNED " * 2^16 + "
+ HOST_WIDE_INT_PRINT_UNSIGNED ") * 2^%d)",
+ x->sig_hi, x->sig_lo, x->exp);
#else
- fprintf (file, "(");
- fprintf (file, HOST_WIDE_INT_PRINT_UNSIGNED, x->sig);
- fprintf (file, " * 2^%d)", x->exp);
+ fprintf (file, "(" HOST_WIDE_INT_PRINT_UNSIGNED " * 2^%d)", x->sig, x->exp);
#endif
}