(block_alloc): Don't dereference a NULL pointer.

From-SVN: r4425
This commit is contained in:
Richard Stallman 1993-05-11 20:59:58 +00:00
parent 13b8df746d
commit a6665f8cf6
1 changed files with 1 additions and 0 deletions

View File

@ -1250,6 +1250,7 @@ block_alloc (b)
&& (r0 = XEXP (PATTERN (insn), 0),
GET_CODE (r0) == REG)
&& (link = find_reg_note (insn, REG_LIBCALL, NULL_RTX)) != 0
&& XEXP (link, 0) != 0
&& GET_CODE (XEXP (link, 0)) == INSN
&& (set = single_set (XEXP (link, 0))) != 0
&& SET_DEST (set) == r0 && SET_SRC (set) == r0