From patchwork Fri Apr 10 16:39:08 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladimir Makarov X-Patchwork-Id: 460158 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 D79871401AF for ; Sat, 11 Apr 2015 02:39:25 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass reason="1024-bit key; unprotected key" header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=IdWtBUen; dkim-adsp=none (unprotected policy); dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:date:from:mime-version:to:subject:content-type :content-transfer-encoding; q=dns; s=default; b=dD6sbJb9yk9X1WND suS4K4pYotoXEukJyl+nWGUq9oBi6P413fTxNtg+b4k34+HEuGkK64Xgb8m5uQAH 8BkYHlXt6m4dFob0OqENo5qAG+tqaMKDRR4hZi9r6iRMG3lK6fYefIXPz6s/9zL4 J7PfN0xWlBao4FMlr1VyVEwIoM4= 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 :message-id:date:from:mime-version:to:subject:content-type :content-transfer-encoding; s=default; bh=04AgSXGHDh0OwhV39JMnkM Sek0c=; b=IdWtBUenrUvd4lG8SMwXP33M54lEk768pIbQ5cc48MxlWj0xLaMjOi EC0ZX7oZb2bOIbjulK21iv+GS4MbaHg6ExmBkt70Rnfn/RfPkJNn6thE2sD1BYe+ gfE6pEAJetAeowejHu+U+3ZccTMD1e+YNbWDE3xFbDYe/ZFaIDiOA= Received: (qmail 26471 invoked by alias); 10 Apr 2015 16:39:12 -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 26411 invoked by uid 89); 10 Apr 2015 16:39:11 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.6 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; Fri, 10 Apr 2015 16:39:11 +0000 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t3AGd9TQ002769 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Fri, 10 Apr 2015 12:39:09 -0400 Received: from [10.3.113.160] (ovpn-113-160.phx2.redhat.com [10.3.113.160]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t3AGd87D006648 for ; Fri, 10 Apr 2015 12:39:09 -0400 Message-ID: <5527FCAC.3090205@redhat.com> Date: Fri, 10 Apr 2015 12:39:08 -0400 From: Vladimir Makarov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: "gcc-patches@gcc.gnu.org" Subject: patch for PR65729 X-IsSubscribed: yes I've committed the following patch for https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65729 The assert is definitely wrong. We will work for the right one for GCC-5.1. Committed as rev. 221975. 2015-04-10 Vladimir Makarov PR target/65729 * lra-constraints.c (prohibited_class_reg_set_mode_p): Comment the assert. Index: lra-constraints.c =================================================================== --- lra-constraints.c (revision 221949) +++ lra-constraints.c (working copy) @@ -1656,7 +1656,8 @@ { HARD_REG_SET temp; - lra_assert (hard_reg_set_subset_p (set, reg_class_contents[rclass])); + // ??? Is this assert right + // lra_assert (hard_reg_set_subset_p (set, reg_class_contents[rclass])); COPY_HARD_REG_SET (temp, set); AND_COMPL_HARD_REG_SET (temp, lra_no_alloc_regs); return (hard_reg_set_subset_p