From patchwork Wed Jul 16 15:27:30 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alan Lawrence X-Patchwork-Id: 370778 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 DC05414008B for ; Thu, 17 Jul 2014 01:27:45 +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 :message-id:date:from:mime-version:to:subject:content-type :content-transfer-encoding; q=dns; s=default; b=QN3p6eeZXxmDBdQd reZ3UvHWBYYVAL90yHUjJPAMIOwyr86yVzp8XlBpLODefwM5h16FZgL1GwHTiIJA dMOb7Xcwi9NM8EhDLuQX2I626phZc49+jihj1GeYA88RBoUGMoWqsZuhp6PgAWNT /Y93mGpejfyJsB5zzw/FQVB4hq0= 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=J6pvdQP4x5zfmVmcHTQXYf 96kpI=; b=Sic6YkCoueH3R+bwMiT3yNbzcQkRWgshfNJ5tOHavBaO4pOBOn4lOj zrwVsbiVRg9QibY8jH6TD7soKcpsYv/iooTtfnuRFupaAcNjnHf+aCzIcqhnac4Y Y1IA/yc8Eti2int/OiMmbQ1Xk7XSwaMjJczyo6+JyP6JfIL1hLku0= Received: (qmail 5906 invoked by alias); 16 Jul 2014 15:27:39 -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 5841 invoked by uid 89); 16 Jul 2014 15:27:35 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: service87.mimecast.com Received: from service87.mimecast.com (HELO service87.mimecast.com) (91.220.42.44) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 16 Jul 2014 15:27:35 +0000 Received: from cam-owa2.Emea.Arm.com (fw-tnat.cambridge.arm.com [217.140.96.21]) by service87.mimecast.com; Wed, 16 Jul 2014 16:27:32 +0100 Received: from [10.1.209.51] ([10.1.255.212]) by cam-owa2.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 16 Jul 2014 16:27:30 +0100 Message-ID: <53C699E2.3060502@arm.com> Date: Wed, 16 Jul 2014 16:27:30 +0100 From: Alan Lawrence User-Agent: Thunderbird 2.0.0.24 (X11/20101213) MIME-Version: 1.0 To: "gcc-patches@gcc.gnu.org" Subject: Does anyone use Ada on Alpha? X-MC-Unique: 114071616273213401 X-IsSubscribed: yes ...as I've not managed to build such a gcc. If so, is there any chance you could please test check-ada with the following patch (in gcc/ directory), which rolls back r76965: Many thanks if so! --Alan Index: combine.c =================================================================== --- combine.c (revision 212523) +++ combine.c (working copy) @@ -10218,9 +10218,6 @@ if (CONST_INT_P (XEXP (varop, 1)) /* We can't do this if we have (ashiftrt (xor)) and the constant has its sign bit set in shift_mode. */ - && !(code == ASHIFTRT && GET_CODE (varop) == XOR - && 0 > trunc_int_for_mode (INTVAL (XEXP (varop, 1)), - shift_mode)) && (new_rtx = simplify_const_binary_operation (code, result_mode, gen_int_mode (INTVAL (XEXP (varop, 1)), result_mode), @@ -10237,10 +10234,7 @@ logical expression, make a new logical expression, and apply the inverse distributive law. This also can't be done for some (ashiftrt (xor)). */ - if (CONST_INT_P (XEXP (varop, 1)) - && !(code == ASHIFTRT && GET_CODE (varop) == XOR - && 0 > trunc_int_for_mode (INTVAL (XEXP (varop, 1)), - shift_mode))) + if (CONST_INT_P (XEXP (varop, 1))) { rtx lhs = simplify_shift_const (NULL_RTX, code, shift_mode, XEXP (varop, 0), count);