Commit bed95fa1 by Richard Kenner

(summarize_insn, default case): Properly use format_ptr.

From-SVN: r11621
parent 49d1cc6c
......@@ -2005,7 +2005,7 @@ summarize_insn (x, sum, set)
default:
format_ptr = GET_RTX_FORMAT (GET_CODE (x));
for (i = GET_RTX_LENGTH (GET_CODE (x)); i >= 0; i--)
switch (*format_ptr++)
switch (format_ptr[i])
{
case 'e':
summarize_insn (XEXP (x, i), sum, 0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment