diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 17056d5363c..554490d58a7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,7 @@ Sat Oct 27 17:32:04 2001 Richard Kenner + * 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. diff --git a/gcc/gcse.c b/gcc/gcse.c index 0119f674243..596a0417dfc 100644 --- a/gcc/gcse.c +++ b/gcc/gcse.c @@ -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);