mips.h (enum reg_class): Add FRAME_REGS.
authorJoseph Myers <joseph@codesourcery.com>
Fri, 5 Sep 2008 15:39:40 +0000 (16:39 +0100)
committerJoseph Myers <jsm28@gcc.gnu.org>
Fri, 5 Sep 2008 15:39:40 +0000 (16:39 +0100)
commit7314c7dd6297c6e7ebb823c1e3589c246f9349b5
treeb8f10beff854b1400e8d8d2b400046c99ccc7a67
parentebac6d9cb9f255b379fffcff4ba871d5b74d39d7
mips.h (enum reg_class): Add FRAME_REGS.

* config/mips/mips.h (enum reg_class): Add FRAME_REGS.
(REG_CLASS_NAMES): Update.
(REG_CLASS_CONTENTS): Update.
* config/mips/mips.c (mips_regno_to_class): Use FRAME_REGS instead
of ALL_REGS for regs 77 and 78.
* function.c (instantiate_virtual_regs_in_insn): Assert that
return value of simplify_gen_subreg is not NULL.

testsuite:
* gcc.c-torture/compile/20080903-1.c: New test.

From-SVN: r140035
gcc/ChangeLog
gcc/config/mips/mips.c
gcc/config/mips/mips.h
gcc/function.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/20080903-1.c [new file with mode: 0644]