re PR rtl-optimization/49154 (build fails on cris-elf in libgcc: ICE in setup_pressur...
authorHans-Peter Nilsson <hp@axis.com>
Thu, 9 Jun 2011 23:45:45 +0000 (23:45 +0000)
committerHans-Peter Nilsson <hp@gcc.gnu.org>
Thu, 9 Jun 2011 23:45:45 +0000 (23:45 +0000)
commit2ea91d6bdab8088137e98fc8e853f7065890466b
treee52d14e15ccb9a8356416f69c7df4ab557422b26
parent9cf4fb5a36f89586c9446b5d4db29a19bd06531b
re PR rtl-optimization/49154 (build fails on cris-elf in libgcc: ICE in setup_pressure_classes, at ira.c:902)

PR rtl-optimization/49154
* config/cris/cris.h (FIXED_REGISTERS): Include CRIS_CC0_REGNUM.
(enum reg_class): Add SRP_REGS and MOF_SRP_REGS.
(REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS)
(PREFERRED_RELOAD_CLASS, SECONDARY_RELOAD_CLASS): Adjust to fit.
* config/cris/cris.h (cris_register_move_cost): Remove
!TARGET_V32 code.  Tweak comments.

From-SVN: r174870
gcc/ChangeLog
gcc/config/cris/cris.c
gcc/config/cris/cris.h