From bb1a503c19ca810ff94db1674cbe607f903d1ffc Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Tue, 21 Aug 2001 07:06:55 +0200 Subject: [PATCH] profile.c (compute_branch_probabilities): Remove extra new-line in error message. * profile.c (compute_branch_probabilities): Remove extra new-line in error message. * flow.c (verify_flow_info): Likewise. From-SVN: r45069 --- gcc/ChangeLog | 10 ++++++++-- gcc/flow.c | 2 +- gcc/profile.c | 2 +- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5886158177dc..d8275ad1f145 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2001-08-20 Andreas Jaeger + + * profile.c (compute_branch_probabilities): Remove extra new-line + in error message. + * flow.c (verify_flow_info): Likewise. + 2001-08-20 Diego Novillo * basic-block.h (basic_block): Add new field 'flags'. @@ -102,7 +108,7 @@ Mon Aug 20 01:44:50 CEST 2001 Jan Hubicka 2001-08-19 Richard Henderson - * dwarf2asm.c (dw2_output_indirect_constant_1): The symbol ref + * dwarf2asm.c (dw2_output_indirect_constant_1): The symbol ref is aligned to pointer size. 2001-08-19 Richard Henderson @@ -164,7 +170,7 @@ Mon Aug 20 01:44:50 CEST 2001 Jan Hubicka (ia64_compute_frame_size): Make ar.unat live when in use. (ia64_epilogue_uses): Reformat; do not check current_function_is_leaf for ar.pfs; remove ar.unat handling. - * config/ia64/ia64.h (CALL_REALLY_USED_REGISTERS): ar.unat is + * config/ia64/ia64.h (CALL_REALLY_USED_REGISTERS): ar.unat is call-saved. (PREDICATE_CODES): Add ar_pfs_reg_operand. * config/ia64/ia64-protos.h: Update decls. diff --git a/gcc/flow.c b/gcc/flow.c index 8e0b8133e47f..3177e65729f2 100644 --- a/gcc/flow.c +++ b/gcc/flow.c @@ -8517,7 +8517,7 @@ verify_flow_info () } if (!NOTE_INSN_BASIC_BLOCK_P (x) || NOTE_BASIC_BLOCK (x) != bb) { - error ("NOTE_INSN_BASIC_BLOCK is missing for block %d\n", + error ("NOTE_INSN_BASIC_BLOCK is missing for block %d", bb->index); err = 1; } diff --git a/gcc/profile.c b/gcc/profile.c index 86a91a0a1931..941e16e76b6a 100644 --- a/gcc/profile.c +++ b/gcc/profile.c @@ -428,7 +428,7 @@ compute_branch_probabilities () e->probability = (e->count * REG_BR_PROB_BASE + total / 2) / total; if (e->probability < 0 || e->probability > REG_BR_PROB_BASE) { - error ("Corrupted profile info: prob for %d-%d thought to be %d\n", + error ("Corrupted profile info: prob for %d-%d thought to be %d", e->src->index, e->dest->index, e->probability); e->probability = REG_BR_PROB_BASE / 2; } -- 2.47.2