From patchwork Wed Dec 24 13:30:43 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Clifton X-Patchwork-Id: 423933 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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 0373614009B for ; Thu, 25 Dec 2014 00:30:56 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:mime-version:content-type; q=dns; s= default; b=FXjdfCdWYCGO8ZAvGp1WWYaWk9YA1JckunKWNV/ENpZGRGvS4mRfb HB2To6hed2/SJKGzsXZHXYtwjZhOF9AZMULnBAHxHaPLkhMygZXzXaDr1+QBsY6A WMHcAPOQ5FJ8jLlpP0xWuguJEePSfYSnZr9AVQLHw0OYqc6nUIaaQk= 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 :to:subject:date:message-id:mime-version:content-type; s= default; bh=pnG3vSN8seD80DMaHji5ujtxKFQ=; b=AyR5fWbixy40yxrC1I7B I2kgHeVZ3f/z59BYxVWedfbCZ5Mbl7W/L6MUoLrhFvWro5csetnZX4sco1xZljrY Gx3d2vIKChOo29K3CxD7WGthzB1EA1pat6CJJNJ1j4Y6jFNcDNNwz4NRn0oCuvJx m2ktI6OBvYeWd2UmgkfSAsk= Received: (qmail 8650 invoked by alias); 24 Dec 2014 13:30:49 -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 8636 invoked by uid 89); 24 Dec 2014 13:30:49 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.7 required=5.0 tests=AWL, BAYES_00, SPF_HELO_PASS, SPF_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Wed, 24 Dec 2014 13:30:48 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id sBODUjRC015854 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Wed, 24 Dec 2014 08:30:45 -0500 Received: from littlehelper.redhat.com (vpn1-6-201.ams2.redhat.com [10.36.6.201]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id sBODUhcI001688 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NO) for ; Wed, 24 Dec 2014 08:30:45 -0500 From: Nick Clifton To: gcc-patches@gcc.gnu.org Subject: Commit: 4.9 branch: Backport RX 'R' operator fix Date: Wed, 24 Dec 2014 13:30:43 +0000 Message-ID: <87k31htbss.fsf@redhat.com> MIME-Version: 1.0 X-IsSubscribed: yes Hi Guys, I am backporting an RX-specific patch from the mainline to the 4.9 branch as it fixes an ICE running the gcc test gcc.c-torture/compile/pr39423-2.c. Cheers Nick gcc/ChangeLog 2014-12-24 Nick Clifton Backport from mainline: 2014-03-25 Nick Clifton * config/rx/rx.c (rx_print_operand): Allow R operator to accept SImode values. Index: gcc/config/rx/rx.c =================================================================== --- gcc/config/rx/rx.c (revision 219054) +++ gcc/config/rx/rx.c (working copy) @@ -733,7 +733,7 @@ break; case 'R': - gcc_assert (GET_MODE_SIZE (GET_MODE (op)) < 4); + gcc_assert (GET_MODE_SIZE (GET_MODE (op)) <= 4); unsigned_load = true; /* Fall through. */ case 'Q':