From 1c13f168fd22cab61279e25df480b91f44a08b5e Mon Sep 17 00:00:00 2001 From: Xinliang David Li Date: Mon, 18 Apr 2011 23:58:49 +0000 Subject: [PATCH] use ASM_COMMENT_START instead of # From-SVN: r172682 --- gcc/ChangeLog | 4 ++++ gcc/final.c | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2c136bf1244..9ebcff0379f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2011-04-18 Xinliang David Li + + * final.c (dump_basic_block_info): Use ASM_COMMENT_START. + 2011-04-18 Jakub Jelinek PR middle-end/48661 diff --git a/gcc/final.c b/gcc/final.c index d049906cb8b..df5d7d5e681 100644 --- a/gcc/final.c +++ b/gcc/final.c @@ -1691,14 +1691,14 @@ dump_basic_block_info (FILE *file, rtx insn, basic_block *start_to_bb, edge e; edge_iterator ei; - fprintf (file, "# BLOCK %d", bb->index); + fprintf (file, "%s BLOCK %d", ASM_COMMENT_START, bb->index); if (bb->frequency) fprintf (file, " freq:%d", bb->frequency); if (bb->count) fprintf (file, " count:" HOST_WIDEST_INT_PRINT_DEC, bb->count); fprintf (file, " seq:%d", (*bb_seqn)++); - fprintf (file, "\n# PRED:"); + fprintf (file, "\n%s PRED:", ASM_COMMENT_START); FOR_EACH_EDGE (e, ei, bb->preds) { dump_edge_info (file, e, 0); @@ -1711,7 +1711,7 @@ dump_basic_block_info (FILE *file, rtx insn, basic_block *start_to_bb, edge e; edge_iterator ei; - fprintf (asm_out_file, "# SUCC:"); + fprintf (asm_out_file, "%s SUCC:", ASM_COMMENT_START); FOR_EACH_EDGE (e, ei, bb->succs) { dump_edge_info (asm_out_file, e, 1); -- 2.30.2