sched-vis (print_pattern): Handle SEQUENCE also.

* sched-vis (print_pattern): Handle SEQUENCE also.

From-SVN: r190113
This commit is contained in:
Steven Bosscher 2012-08-03 07:58:49 +00:00
parent 34831f3e27
commit 07fd4efacc
2 changed files with 17 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2012-08-04 Steven Bosscher <steven@gcc.gnu.org>
* sched-vis (print_pattern): Handle SEQUENCE also.
2012-08-02 Richard Henderson <rth@redhat.com>
Revert:

View File

@ -610,8 +610,19 @@ print_pattern (char *buf, const_rtx x, int verbose)
}
break;
case SEQUENCE:
/* Should never see SEQUENCE codes until after reorg. */
gcc_unreachable ();
{
int i;
sprintf (t1, "sequence{");
for (i = 0; i < XVECLEN (x, 0); i++)
{
print_pattern (t2, XVECEXP (x, 0, i), verbose);
sprintf (t3, "%s%s;", t1, t2);
strcpy (t1, t3);
}
sprintf (buf, "%s}", t1);
}
break;
case ASM_INPUT:
sprintf (buf, "asm {%s}", XSTR (x, 0));
break;