sel-sched-dump.c (dump_insn_rtx_flags): Explicitly set DUMP_INSN_RTX_UID.

* sel-sched-dump.c (dump_insn_rtx_flags): Explicitly set
        DUMP_INSN_RTX_UID.
        (dump_insn_rtx_1): Pass PATTERN (insn) to str_pattern_slim.

From-SVN: r196138
This commit is contained in:
Andrey Belevantsev 2013-02-19 17:52:19 +04:00 committed by Andrey Belevantsev
parent b4979ab94e
commit 242387fa90
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2012-02-19 Andrey Belevantsev <abel@ispras.ru>
* sel-sched-dump.c (dump_insn_rtx_flags): Explicitly set
DUMP_INSN_RTX_UID.
(dump_insn_rtx_1): Pass PATTERN (insn) to str_pattern_slim.
2012-02-19 Andrey Belevantsev <abel@ispras.ru>
PR middle-end/55889

View File

@ -91,7 +91,7 @@ restore_dump (void)
/* Functions for dumping instructions, av sets, and exprs. */
/* Default flags for dumping insns. */
static int dump_insn_rtx_flags = DUMP_INSN_RTX_PATTERN;
static int dump_insn_rtx_flags = DUMP_INSN_RTX_UID | DUMP_INSN_RTX_PATTERN;
/* Default flags for dumping vinsns. */
static int dump_vinsn_flags = (DUMP_VINSN_INSN_RTX | DUMP_VINSN_TYPE
@ -136,7 +136,7 @@ dump_insn_rtx_1 (rtx insn, int flags)
sel_print ("%d;", INSN_UID (insn));
if (flags & DUMP_INSN_RTX_PATTERN)
sel_print ("%s;", str_pattern_slim (insn));
sel_print ("%s;", str_pattern_slim (PATTERN (insn)));
if (flags & DUMP_INSN_RTX_BBN)
{