use ASM_COMMENT_START instead of #
authorXinliang David Li <davidxl@google.com>
Mon, 18 Apr 2011 23:58:49 +0000 (23:58 +0000)
committerXinliang David Li <davidxl@gcc.gnu.org>
Mon, 18 Apr 2011 23:58:49 +0000 (23:58 +0000)
From-SVN: r172682

gcc/ChangeLog
gcc/final.c

index 2c136bf1244cb8283f5d44ece5bcd0d1612b9d21..9ebcff0379fde3524cc5a4390979e4c781eaa889 100644 (file)
@@ -1,3 +1,7 @@
+2011-04-18  Xinliang David Li  <davidxl@google.com>
+
+       * final.c (dump_basic_block_info): Use ASM_COMMENT_START.
+
 2011-04-18  Jakub Jelinek  <jakub@redhat.com>
 
        PR middle-end/48661
index d049906cb8b3a2da3c47c9eb993c08d828d55271..df5d7d5e6815e87e98ed0c4a091b0128040dbc66 100644 (file)
@@ -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);