mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-24 11:24:05 +08:00
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:
parent
bda0d962be
commit
23da9ed6e2
@ -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
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user