Commit 23da9ed6 by Rask Ingemann Lambertsen Committed by Rask Ingemann Lambertsen

re PR rtl-optimization/32557 (internal compiler error: RTL check: expected code…

re PR rtl-optimization/32557 (internal compiler error: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:956)

	PR rtl-optimization/32557
	* df-problems.c (df_note_bb_compute): Use mws->start_regno instead
	of REGNO (mws->mw_reg).

From-SVN: r127703
parent bda0d962
2007-08-22 Rask Ingemann Lambertsen <rask@sygehus.dk>
PR rtl-optimization/32557
* df-problems.c (df_note_bb_compute): Use mws->start_regno instead
of REGNO (mws->mw_reg).
2007-08-22 Richard Guenther <rguenther@suse.de>
PR middle-end/33007
......
......@@ -3425,7 +3425,7 @@ df_note_bb_compute (unsigned int bb_index,
{
struct df_mw_hardreg *mws = *mws_rec;
if ((mws->type == DF_REF_REG_DEF)
&& !df_ignore_stack_reg (REGNO (mws->mw_reg)))
&& !df_ignore_stack_reg (mws->start_regno))
old_unused_notes
= df_set_unused_notes_for_mw (insn, old_unused_notes,
mws, live, do_not_gen,
......@@ -3488,7 +3488,7 @@ df_note_bb_compute (unsigned int bb_index,
{
struct df_mw_hardreg *mws = *mws_rec;
if ((mws->type != DF_REF_REG_DEF)
&& !df_ignore_stack_reg (REGNO (mws->mw_reg)))
&& !df_ignore_stack_reg (mws->start_regno))
old_dead_notes
= df_set_dead_notes_for_mw (insn, old_dead_notes,
mws, live, do_not_gen,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment