From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1987 invoked by alias); 18 Nov 2008 00:12:35 -0000 Received: (qmail 23204 invoked by uid 48); 18 Nov 2008 00:11:23 -0000 Date: Tue, 18 Nov 2008 00:12:00 -0000 Message-ID: <20081118001123.23203.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug target/37362] [4.4 Regression] Bootstrap broken on mipsisa64r2-linux-gcc In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "ubizjak at gmail dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-11/txt/msg01440.txt.bz2 ------- Comment #5 from ubizjak at gmail dot com 2008-11-18 00:11 ------- (In reply to comment #4) > Using top-of-stack GCC and Binutils from Nov 17, issue still present; Applied > the below patch and re-tried, no change in behavior. Fails the same way... This one is tested with a cross and works for me: Index: mips.md =================================================================== --- mips.md (revision 141951) +++ mips.md (working copy) @@ -4537,7 +4537,7 @@ rtx low = mips_subword (operands[0], 0); rtx high = mips_subword (operands[0], 1); emit_insn (gen_store_word (low, operands[1], const0_rtx)); - if (ISA_HAS_MXHC1) + if (register_operand (high, mode) && ISA_HAS_MXHC1) emit_insn (gen_mfhc1 (high, operands[1])); else emit_insn (gen_store_word (high, operands[1], const1_rtx)); -- ubizjak at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2008-11-18 00:11:22 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37362