* gcse.c (insert_insn_end_bb): Don't assume PAT is a SET.

From-SVN: r46574
This commit is contained in:
Richard Kenner 2001-10-28 02:34:18 +00:00 committed by Richard Kenner
parent e7af1d4538
commit 157bd2bb7d
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
Sat Oct 27 17:32:04 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* gcse.c (insert_insn_end_bb): Don't assume PAT is a SET.
* dwarf2out.c (reg_number): Abort if pseudo.
(reg_loc_descriptor): Return 0 if pseudo.
(is_based_loc): Return 0 if pseudo.

View File

@ -4690,7 +4690,7 @@ insert_insn_end_bb (expr, bb, pre)
}
else
{
add_label_notes (SET_SRC (pat), new_insn);
add_label_notes (pat, new_insn);
/* Keep register set table up to date. */
record_one_set (regno, new_insn);