diff options
author | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-09-05 15:39:40 +0000 |
---|---|---|
committer | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-09-05 15:39:40 +0000 |
commit | 024f0a8a745a718c7a5f58d2a5b1358fbb41f271 (patch) | |
tree | b8f10beff854b1400e8d8d2b400046c99ccc7a67 /gcc/function.c | |
parent | b94d0f27a7775255f260cb5c3f662aaae709847c (diff) | |
download | gcc-024f0a8a745a718c7a5f58d2a5b1358fbb41f271.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@140035 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/function.c')
-rw-r--r-- | gcc/function.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/function.c b/gcc/function.c index da26dc7d114..8f614b69ed6 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -1515,6 +1515,7 @@ instantiate_virtual_regs_in_insn (rtx insn) } x = simplify_gen_subreg (recog_data.operand_mode[i], new_rtx, GET_MODE (new_rtx), SUBREG_BYTE (x)); + gcc_assert (x); break; default: |