2
0
mirror of git://gcc.gnu.org/git/gcc.git synced 2025-04-13 07:30:31 +08:00

re PR rtl-optimization/61461 (-fdump-rtl-all-slim causes ICE with fold-const.c)

2014-07-18  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        PR rtl-optimization/61461
        * sched-vis.c (print_pattern) <ADDR_VEC, ADDR_DIFF_VEC>: Fixed.

From-SVN: r212829
This commit is contained in:
Bernd Edlinger 2014-07-18 18:11:53 +00:00 committed by Bernd Edlinger
parent 622cd23a5c
commit 6742052af4
2 changed files with 16 additions and 2 deletions

@ -1,3 +1,8 @@
2014-07-18 Bernd Edlinger <bernd.edlinger@hotmail.de>
PR rtl-optimization/61461
* sched-vis.c (print_pattern) <ADDR_VEC, ADDR_DIFF_VEC>: Fixed.
2014-07-18 Uros Bizjak <ubizjak@gmail.com>
PR target/61794

@ -611,9 +611,18 @@ print_pattern (pretty_printer *pp, const_rtx x, int verbose)
pp_printf (pp, "asm {%s}", XSTR (x, 0));
break;
case ADDR_VEC:
/* Fall through. */
for (int i = 0; i < XVECLEN (x, 0); i++)
{
print_value (pp, XVECEXP (x, 0, i), verbose);
pp_semicolon (pp);
}
break;
case ADDR_DIFF_VEC:
print_value (pp, XEXP (x, 0), verbose);
for (int i = 0; i < XVECLEN (x, 1); i++)
{
print_value (pp, XVECEXP (x, 1, i), verbose);
pp_semicolon (pp);
}
break;
case TRAP_IF:
pp_string (pp, "trap_if ");