Commit 56e2d435 by Richard Kenner

(decode_rtx_const, case CONST_DOUBLE): Only use mode of X if it is not

VOIDmode.

From-SVN: r5602
parent 2f17722a
......@@ -2705,7 +2705,8 @@ decode_rtx_const (mode, x, value)
{
case CONST_DOUBLE:
value->kind = RTX_DOUBLE;
value->mode = GET_MODE (x);
if (GET_MODE (x) != VOIDmode)
value->mode = GET_MODE (x);
bcopy (&CONST_DOUBLE_LOW (x), &value->un.du, sizeof value->un.du);
break;
......
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