[Bug rtl-optimization/32557] [4.3 Regression] internal compiler error: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:956

richard at codesourcery dot com gcc-bugzilla@gcc.gnu.org
Mon Aug 20 09:40:00 GMT 2007



------- Comment #6 from richard at codesourcery dot com  2007-08-20 09:40 -------
Subject: Re:  [4.3 Regression] internal compiler error: RTL check: expected
code 'reg', have 'subreg' in rhs_regno, at rtl.h:956

"bonzini at gnu dot org" <gcc-bugzilla@gcc.gnu.org> writes:
> ------- Comment #5 from bonzini at gnu dot org  2007-08-20 07:11 -------
> Richard, is this the issue you had a patch for?

Well, the patch I had has already been committed:

2007-07-27  Richard Sandiford  <rsandifo@nildram.co.uk>

        * df.h (df_mw_hardreg): Remove "loc" field.
        * df-scan.c (df_ref_record): Don't set it.  Remove redundant
        local variable.
        * df-problems.c (df_whole_mw_reg_unused_p): New function,
        split out from df_set_unused_notes_for_mw.  Return false for
        partial references.  Assert that mw_reg is a REG when returning true.
        (df_set_unused_notes_for_mw): Use it.  Use mw_reg instead of *loc.
        (df_whole_mw_reg_dead_p): New function, split out from
        df_set_dead_notes_for_mw.  Return false for partial references.
        Assert that mw_reg is a REG when returning true.
        (df_set_dead_notes_for_mw): Use it.  Use mw_reg instead of *loc.
        Remove redundant bitmap check.

Is this a regression from then?

Richard


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32557



More information about the Gcc-bugs mailing list