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
This commit is contained in:
Rask Ingemann Lambertsen 2007-08-22 14:56:35 +02:00 committed by Rask Ingemann Lambertsen
parent bda0d962be
commit 23da9ed6e2
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
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

View File

@ -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,