PR other/58712
* read-rtl.c (read_rtx_code): Clear all of RTX_CODE_SIZE (code).
For REGs set ORIGINAL_REGNO.
From-SVN: r207230
+2014-01-29 Jakub Jelinek <jakub@redhat.com>
+
+ PR other/58712
+ * read-rtl.c (read_rtx_code): Clear all of RTX_CODE_SIZE (code).
+ For REGs set ORIGINAL_REGNO.
+
2014-01-29 Bingfeng Mei <bmei@broadcom.com>
* doc/md.texi: Mention that a target shouldn't implement
/* If we end up with an insn expression then we free this space below. */
return_rtx = rtx_alloc (code);
format_ptr = GET_RTX_FORMAT (code);
+ memset (return_rtx, 0, RTX_CODE_SIZE (code));
PUT_CODE (return_rtx, code);
if (iterator)
/* 0 means a field for internal use only.
Don't expect it to be present in the input. */
case '0':
+ if (code == REG)
+ ORIGINAL_REGNO (return_rtx) = REGNO (return_rtx);
break;
case 'e':