Allow HIGH/LO_SUM in the prologue

From-SVN: r34281
This commit is contained in:
Michael Meissner 2000-05-31 01:36:58 +00:00 committed by Michael Meissner
parent d3bc89386d
commit ab577d8a3d
2 changed files with 16 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2000-05-30 Michael Meissner <meissner@redhat.com>
* dwarf2out.c (dwarf2out_frame_debug_expr): Ignore HIGH
instructions. Treat LO_SUM operations as loading the full integer
constant.
2000-05-30 Richard Henderson <rth@cygnus.com>
* combine.c (get_pos_from_mask): Test exact_log2 result as signed.

View file

@ -1289,6 +1289,16 @@ dwarf2out_frame_debug_expr (expr, label)
dwarf2out_def_cfa (label, cfa_reg, cfa_offset);
break;
/* Skip over HIGH, assuming it will be followed by a LO_SUM, which
will fill in all of the bits. */
case HIGH:
break;
case LO_SUM:
cfa_temp_reg = REGNO (dest);
cfa_temp_value = INTVAL (XEXP (src, 1));
break;
case MEM:
/* Saving a register to the stack. Make sure dest is relative to the
CFA register. */