This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug rtl-optimization/49114] Reload failed to handle (set reg:X (plus:X (subreg:X (reg:Y) 0) (const_int)))


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

--- Comment #8 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> 2011-06-29 13:33:25 UTC ---
Author: hjl
Date: Wed Jun 29 13:33:23 2011
New Revision: 175637

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175637
Log:
Remove SUBREG_LOC member from struct replacement.

2011-06-28  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>

    PR rtl-optimization/49114
    * reload.c (struct replacement): Remove SUBREG_LOC member.
    (push_reload): Do not set it.
    (push_replacement): Likewise.
    (subst_reload): Remove dead code.
    (copy_replacements): Remove assertion.
    (copy_replacements_1): Do not handle SUBREG_LOC.
    (move_replacements): Likewise.
    (find_replacement): Remove dead code.  Use reload_adjust_reg_for_mode.
    Detect subregs via recursive descent instead of via SUBREG_LOC.

Modified:
    branches/x32/gcc/ChangeLog.x32
    branches/x32/gcc/reload.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]