From patchwork Fri Apr 19 22:35:08 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Ellcey X-Patchwork-Id: 238127 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "localhost", Issuer "www.qmailtoaster.com" (not verified)) by ozlabs.org (Postfix) with ESMTPS id C85062C021A for ; Sat, 20 Apr 2013 08:36:55 +1000 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :date:to:cc:subject:mime-version:content-type :content-transfer-encoding:message-id; q=dns; s=default; b=kso5n ZOqmk+5RTQyxZF6gZk2SczrVbwTGhE+Eo/geLx25Z/HoZF65xjyMsqkwOWFjUMMJ rHZOYkRYlGA1P5+ygegBGzKWNyg89TkjAf2ccL/kVrSC3yr4t1LjyvryV2gyKYc8 U7EhuQ1zknXmkWuqxIwRnnTGSMZI3dqnf/b8ik= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :date:to:cc:subject:mime-version:content-type :content-transfer-encoding:message-id; s=default; bh=0vEhQMrcC0s nMAPJ1SQQRUK2n0g=; b=Yxnj9Z8OAUb+ADfGCLr7bqLxLMBgixhZwzy1xmDFuD/ E0BweEWXouDKeWj6aCNYQ2Z18DjzZo9xWm9aAIlctHs/hKsBL9wHCzMrjoJS3PRg Rr9jQxc204d0m/bsVUmZHE152NvxHxsNw/+p5gv6Xil9JBfGLDav0DULDBrpLmt0 = Received: (qmail 16565 invoked by alias); 19 Apr 2013 22:36:47 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 16555 invoked by uid 89); 19 Apr 2013 22:36:47 -0000 X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD autolearn=ham version=3.3.1 Received: from multi.imgtec.com (HELO multi.imgtec.com) (194.200.65.239) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Fri, 19 Apr 2013 22:36:46 +0000 From: "Steve Ellcey " Date: Fri, 19 Apr 2013 15:35:08 -0700 To: , CC: Subject: [patch, mips] Fix for PR target/56942 User-Agent: Heirloom mailx 12.4 7/29/08 MIME-Version: 1.0 Message-ID: <2c243f55-9b58-4e4a-86cf-9dd5be8ea183@BAMAIL02.ba.imgtec.org> X-SEF-Processed: 7_3_0_01181__2013_04_19_23_36_32 Andrew Bennett found this fix to my MIPS build problem (PR target/56942). He does not have write access so I am submitting it for checkin, is this a simple enough fix for an 'obvious' checkin? I did a build and regression test to verify the fix. Steve Ellcey sellcey@imgtec.com 2013-04-19 Andrew Bennett Steve Ellcey PR target/56942 * config/mips/mips.md (casesi_internal_mips16_): Use next_active_insn instead of next_real_insn. diff --git a/gcc/config/mips/mips.md b/gcc/config/mips/mips.md index 2f62910..caf4614 100644 --- a/gcc/config/mips/mips.md +++ b/gcc/config/mips/mips.md @@ -6019,7 +6019,7 @@ (clobber (reg:SI MIPS16_T_REGNUM))] "TARGET_MIPS16_SHORT_JUMP_TABLES" { - rtx diff_vec = PATTERN (next_real_insn (operands[2])); + rtx diff_vec = PATTERN (next_active_insn (operands[2])); gcc_assert (GET_CODE (diff_vec) == ADDR_DIFF_VEC);